Skip to content

Updating to add a logger for publishing#18

Open
Poss111 wants to merge 125 commits intomainfrom
eventPublisher
Open

Updating to add a logger for publishing#18
Poss111 wants to merge 125 commits intomainfrom
eventPublisher

Conversation

@Poss111
Copy link
Copy Markdown
Owner

@Poss111 Poss111 commented Nov 14, 2023

No description provided.

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - plan

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Prerequisite Plan 📖success

Terraform Validation 🤖success

Show Plan

Prerequisites


terraform
module.lambda_bucket.data.aws_region.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow - plan

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Workflow Plan 📖success

Terraform Validation 🤖success

Show Plan

Prerequisites


terraform
module.create_team_step_function.data.aws_caller_identity.current: Reading...
data.aws_acm_certificate.issued: Reading...
module.create_team_step_function.data.aws_region.current[0]: Reading...
data.aws_iam_policy_document.event_handler_policy_document: Reading...
module.clash_bot_event_sqs.aws_sqs_queue.this[0]: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo]
module.api_gateway.aws_apigatewayv2_api.this[0]: Refreshing state... [id=w6261upn4d]
aws_iam_role.lambda_publisher_exec: Refreshing state... [id=clash_bot_lambda_event_publisher_exec_role]
aws_iam_role.lambda_handler_exec: Refreshing state... [id=clash_bot_lambda_event_handler_exec_role]
data.aws_iam_policy_document.event_publisher_policy_document: Reading...
module.create_team_step_function.data.aws_region.current[0]: Read complete after 0s [id=us-east-1]
aws_cloudwatch_log_group.api_gateway_default_log_group: Refreshing state... [id=api_gateway_default_log_group]
data.aws_iam_policy_document.event_handler_policy_document: Read complete after 0s [id=927500948]
data.aws_iam_policy_document.event_publisher_policy_document: Read complete after 0s [id=927500948]
module.dynamodb_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-workflow-development]
aws_iam_policy.event_publisher_policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/ClashBotEventPublisherPolicy]
aws_iam_policy.event_handler_policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/ClashBotWorkflowEventHandlerPolicy]
module.create_team_step_function.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Read complete after 0s [id=4239894905]
module.create_team_step_function.aws_iam_role.this[0]: Refreshing state... [id=retrieve-teams-development]
aws_iam_role_policy_attachment.lambda_handler_exec_policy: Refreshing state... [id=clash_bot_lambda_event_handler_exec_role-20231113053238999600000002]
aws_iam_role_policy_attachment.lambda_publisher_exec_policy: Refreshing state... [id=clash_bot_lambda_event_publisher_exec_role-20231113224304286700000001]
aws_lambda_function.event_publisher_lambda: Refreshing state... [id=clash-bot-event-publisher]
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Read complete after 0s [id=3233016293]
module.create_team_step_function.aws_iam_policy.service["dynamodb"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/retrieve-teams-development-dynamodb]
aws_lambda_permission.apigw: Refreshing state... [id=AllowExecutionFromAPIGateway]
module.api_gateway.aws_apigatewayv2_integration.this["$default"]: Refreshing state... [id=5tztbve]
module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default]
module.create_team_step_function.aws_iam_policy_attachment.service["dynamodb"]: Refreshing state... [id=retrieve-teams-development-dynamodb]
module.create_team_step_function.aws_sfn_state_machine.this[0]: Refreshing state... [id=arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development]
data.aws_acm_certificate.issued: Read complete after 1s [id=arn:aws:acm:us-east-1:816923827429:certificate/1d277044-1781-46f9-b693-50c8ff95546a]
module.api_gateway.aws_apigatewayv2_domain_name.this[0]: Refreshing state... [id=clash-bot.ninja]
module.api_gateway.aws_apigatewayv2_route.this["$default"]: Refreshing state... [id=ycntu3f]
module.api_gateway.aws_apigatewayv2_api_mapping.this[0]: Refreshing state... [id=cupiqn]
aws_lambda_function.event_handler_lambda: Refreshing state... [id=clash-bot-event-handler]
aws_lambda_event_source_mapping.sqs_trigger: Refreshing state... [id=bf5ea823-a758-4eb0-88b5-bae1b4ed37b9]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  ~ update in-place
  - destroy

Terraform will perform the following actions:

  # aws_lambda_function.event_handler_lambda will be updated in-place
  ~ resource "aws_lambda_function" "event_handler_lambda" {
        id                             = "clash-bot-event-handler"
      ~ last_modified                  = "2023-11-13T23:43:11.000+0000" -> (known after apply)
      - s3_bucket                      = "clash-bot-lambda-bucket" -> null
      ~ s3_key                         = "artifacts/development/16/event-handler-16.zip" -> "event-handler-101.tar.gz"
        tags                           = {}
        # (20 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # aws_lambda_function.event_publisher_lambda will be updated in-place
  ~ resource "aws_lambda_function" "event_publisher_lambda" {
        id                             = "clash-bot-event-publisher"
      ~ last_modified                  = "2023-11-13T23:43:10.000+0000" -> (known after apply)
      - s3_bucket                      = "clash-bot-lambda-bucket" -> null
      ~ s3_key                         = "artifacts/development/16/event-publisher-16.zip" -> "event-publisher-101.tar.gz"
        tags                           = {}
        # (20 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # module.api_gateway.aws_apigatewayv2_integration.this["$default"] will be destroyed
  # (because key ["$default"] is not in for_each map)
  - resource "aws_apigatewayv2_integration" "this" {
      - api_id                 = "w6261upn4d" -> null
      - connection_type        = "INTERNET" -> null
      - id                     = "5tztbve" -> null
      - integration_method     = "POST" -> null
      - integration_type       = "AWS_PROXY" -> null
      - integration_uri        = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-publisher" -> null
      - payload_format_version = "1.0" -> null
      - request_parameters     = {} -> null
      - request_templates      = {} -> null
      - timeout_milliseconds   = 30000 -> null
    }

  # module.api_gateway.aws_apigatewayv2_integration.this["POST /api/v2"] will be created
  + resource "aws_apigatewayv2_integration" "this" {
      + api_id                                    = "w6261upn4d"
      + connection_type                           = "INTERNET"
      + id                                        = (known after apply)
      + integration_method                        = "POST"
      + integration_response_selection_expression = (known after apply)
      + integration_type                          = "AWS_PROXY"
      + integration_uri                           = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-publisher"
      + payload_format_version                    = "1.0"
      + timeout_milliseconds                      = (known after apply)
    }

  # module.api_gateway.aws_apigatewayv2_route.this["$default"] will be destroyed
  # (because key ["$default"] is not in for_each map)
  - resource "aws_apigatewayv2_route" "this" {
      - api_id               = "w6261upn4d" -> null
      - api_key_required     = false -> null
      - authorization_scopes = [] -> null
      - authorization_type   = "NONE" -> null
      - id                   = "ycntu3f" -> null
      - request_models       = {} -> null
      - route_key            = "$default" -> null
      - target               = "integrations/5tztbve" -> null
    }

  # module.api_gateway.aws_apigatewayv2_route.this["POST /api/v2"] will be created
  + resource "aws_apigatewayv2_route" "this" {
      + api_id             = "w6261upn4d"
      + api_key_required   = false
      + authorization_type = "NONE"
      + id                 = (known after apply)
      + route_key          = "POST /api/v2"
      + target             = (known after apply)
    }

Plan: 2 to add, 2 to change, 2 to destroy.

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - plan

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Prerequisite Plan 📖success

Terraform Validation 🤖success

Show Plan

Prerequisites


terraform
module.lambda_bucket.data.aws_partition.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 1s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - plan

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Prerequisite Plan 📖success

Terraform Validation 🤖success

Show Plan

Prerequisites


terraform
module.lambda_bucket.data.aws_caller_identity.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - plan

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Prerequisite Plan 📖success

Terraform Validation 🤖success

Show Plan

Prerequisites


terraform
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - plan

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Prerequisite Plan 📖success

Terraform Validation 🤖success

Show Plan

Prerequisites


terraform
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - plan

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Prerequisite Plan 📖success

Terraform Validation 🤖success

Show Plan

Prerequisites


terraform
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow - plan

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Workflow Plan 📖success

Terraform Validation 🤖success

Show Plan

Prerequisites


terraform
aws_lambda_event_source_mapping.sqs_trigger: Refreshing state... [id=bf5ea823-a758-4eb0-88b5-bae1b4ed37b9]
aws_iam_policy.event_handler_policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/ClashBotWorkflowEventHandlerPolicy]
module.clash_bot_event_sqs.aws_sqs_queue.this[0]: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo]
module.create_team_step_function.aws_iam_policy.service["dynamodb"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/retrieve-teams-development-dynamodb]
aws_iam_role_policy_attachment.lambda_publisher_exec_policy: Refreshing state... [id=clash_bot_lambda_event_publisher_exec_role-20231113224304286700000001]
module.api_gateway.aws_apigatewayv2_integration.this["$default"]: Refreshing state... [id=5tztbve]
module.create_team_step_function.aws_iam_role.this[0]: Refreshing state... [id=retrieve-teams-development]
module.api_gateway.aws_apigatewayv2_api_mapping.this[0]: Refreshing state... [id=cupiqn]
aws_iam_policy.event_publisher_policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/ClashBotEventPublisherPolicy]
module.create_team_step_function.aws_sfn_state_machine.this[0]: Refreshing state... [id=arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development]
module.api_gateway.aws_apigatewayv2_domain_name.this[0]: Refreshing state... [id=clash-bot.ninja]
module.create_team_step_function.aws_iam_policy_attachment.service["dynamodb"]: Refreshing state... [id=retrieve-teams-development-dynamodb]
aws_lambda_permission.apigw: Refreshing state... [id=AllowExecutionFromAPIGateway]
aws_cloudwatch_log_group.api_gateway_default_log_group: Refreshing state... [id=api_gateway_default_log_group]
aws_iam_role.lambda_handler_exec: Refreshing state... [id=clash_bot_lambda_event_handler_exec_role]
module.api_gateway.aws_apigatewayv2_route.this["$default"]: Refreshing state... [id=ycntu3f]
aws_lambda_function.event_handler_lambda: Refreshing state... [id=clash-bot-event-handler]
module.dynamodb_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-workflow-development]
aws_lambda_function.event_publisher_lambda: Refreshing state... [id=clash-bot-event-publisher]
module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default]
module.api_gateway.aws_apigatewayv2_api.this[0]: Refreshing state... [id=w6261upn4d]
aws_iam_role.lambda_publisher_exec: Refreshing state... [id=clash_bot_lambda_event_publisher_exec_role]
aws_iam_role_policy_attachment.lambda_handler_exec_policy: Refreshing state... [id=clash_bot_lambda_event_handler_exec_role-20231113053238999600000002]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # aws_cloudwatch_log_group.api_gateway_default_log_group will be destroyed
  # (because aws_cloudwatch_log_group.api_gateway_default_log_group is not in configuration)
  - resource "aws_cloudwatch_log_group" "api_gateway_default_log_group" {
      - arn               = "arn:aws:logs:us-east-1:816923827429:log-group:api_gateway_default_log_group" -> null
      - id                = "api_gateway_default_log_group" -> null
      - name              = "api_gateway_default_log_group" -> null
      - retention_in_days = 0 -> null
      - skip_destroy      = false -> null
      - tags              = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all          = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
    }

  # aws_iam_policy.event_handler_policy will be destroyed
  # (because aws_iam_policy.event_handler_policy is not in configuration)
  - resource "aws_iam_policy" "event_handler_policy" {
      - arn         = "arn:aws:iam::816923827429:policy/ClashBotWorkflowEventHandlerPolicy" -> null
      - description = "Allows the event handler lambda to interact with SQS and CloudWatch Logs" -> null
      - id          = "arn:aws:iam::816923827429:policy/ClashBotWorkflowEventHandlerPolicy" -> null
      - name        = "ClashBotWorkflowEventHandlerPolicy" -> null
      - path        = "/" -> null
      - policy      = jsonencode(
            {
              - Statement = [
                  - {
                      - Action   = [
                          - "logs:PutLogEvents",
                          - "logs:CreateLogStream",
                          - "logs:CreateLogGroup",
                        ]
                      - Effect   = "Allow"
                      - Resource = "*"
                    },
                  - {
                      - Action   = [
                          - "sqs:ReceiveMessage",
                          - "sqs:GetQueueAttributes",
                          - "sqs:DeleteMessage",
                        ]
                      - Effect   = "Allow"
                      - Resource = "*"
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> null
      - policy_id   = "ANPA34NDULTSTOCB5DJNA" -> null
      - tags        = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all    = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
    }

  # aws_iam_policy.event_publisher_policy will be destroyed
  # (because aws_iam_policy.event_publisher_policy is not in configuration)
  - resource "aws_iam_policy" "event_publisher_policy" {
      - arn         = "arn:aws:iam::816923827429:policy/ClashBotEventPublisherPolicy" -> null
      - description = "Allows the event publisher lambda to publish events to the event queue and log events to CloudWatch" -> null
      - id          = "arn:aws:iam::816923827429:policy/ClashBotEventPublisherPolicy" -> null
      - name        = "ClashBotEventPublisherPolicy" -> null
      - path        = "/" -> null
      - policy      = jsonencode(
            {
              - Statement = [
                  - {
                      - Action   = [
                          - "logs:PutLogEvents",
                          - "logs:CreateLogStream",
                          - "logs:CreateLogGroup",
                        ]
                      - Effect   = "Allow"
                      - Resource = "*"
                    },
                  - {
                      - Action   = [
                          - "sqs:ReceiveMessage",
                          - "sqs:GetQueueAttributes",
                          - "sqs:DeleteMessage",
                        ]
                      - Effect   = "Allow"
                      - Resource = "*"
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> null
      - policy_id   = "ANPA34NDULTSUPHUYI3RK" -> null
      - tags        = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all    = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
    }

  # aws_iam_role.lambda_handler_exec will be destroyed
  # (because aws_iam_role.lambda_handler_exec is not in configuration)
  - resource "aws_iam_role" "lambda_handler_exec" {
      - arn                   = "arn:aws:iam::816923827429:role/clash_bot_lambda_event_handler_exec_role" -> null
      - assume_role_policy    = jsonencode(
            {
              - Statement = [
                  - {
                      - Action    = "sts:AssumeRole"
                      - Effect    = "Allow"
                      - Principal = {
                          - Service = "lambda.amazonaws.com"
                        }
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> null
      - create_date           = "2023-11-13T02:49:36Z" -> null
      - force_detach_policies = false -> null
      - id                    = "clash_bot_lambda_event_handler_exec_role" -> null
      - managed_policy_arns   = [
          - "arn:aws:iam::816923827429:policy/ClashBotWorkflowEventHandlerPolicy",
        ] -> null
      - max_session_duration  = 3600 -> null
      - name                  = "clash_bot_lambda_event_handler_exec_role" -> null
      - path                  = "/" -> null
      - tags                  = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all              = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - unique_id             = "AROA34NDULTSYRDU5SVUY" -> null
    }

  # aws_iam_role.lambda_publisher_exec will be destroyed
  # (because aws_iam_role.lambda_publisher_exec is not in configuration)
  - resource "aws_iam_role" "lambda_publisher_exec" {
      - arn                   = "arn:aws:iam::816923827429:role/clash_bot_lambda_event_publisher_exec_role" -> null
      - assume_role_policy    = jsonencode(
            {
              - Statement = [
                  - {
                      - Action    = "sts:AssumeRole"
                      - Effect    = "Allow"
                      - Principal = {
                          - Service = "lambda.amazonaws.com"
                        }
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> null
      - create_date           = "2023-11-13T02:49:36Z" -> null
      - force_detach_policies = false -> null
      - id                    = "clash_bot_lambda_event_publisher_exec_role" -> null
      - managed_policy_arns   = [
          - "arn:aws:iam::816923827429:policy/ClashBotEventPublisherPolicy",
        ] -> null
      - max_session_duration  = 3600 -> null
      - name                  = "clash_bot_lambda_event_publisher_exec_role" -> null
      - path                  = "/" -> null
      - tags                  = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all              = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - unique_id             = "AROA34NDULTSZMHQ67PGD" -> null
    }

  # aws_iam_role_policy_attachment.lambda_handler_exec_policy will be destroyed
  # (because aws_iam_role_policy_attachment.lambda_handler_exec_policy is not in configuration)
  - resource "aws_iam_role_policy_attachment" "lambda_handler_exec_policy" {
      - id         = "clash_bot_lambda_event_handler_exec_role-20231113053238999600000002" -> null
      - policy_arn = "arn:aws:iam::816923827429:policy/ClashBotWorkflowEventHandlerPolicy" -> null
      - role       = "clash_bot_lambda_event_handler_exec_role" -> null
    }

  # aws_iam_role_policy_attachment.lambda_publisher_exec_policy will be destroyed
  # (because aws_iam_role_policy_attachment.lambda_publisher_exec_policy is not in configuration)
  - resource "aws_iam_role_policy_attachment" "lambda_publisher_exec_policy" {
      - id         = "clash_bot_lambda_event_publisher_exec_role-20231113224304286700000001" -> null
      - policy_arn = "arn:aws:iam::816923827429:policy/ClashBotEventPublisherPolicy" -> null
      - role       = "clash_bot_lambda_event_publisher_exec_role" -> null
    }

  # aws_lambda_event_source_mapping.sqs_trigger will be destroyed
  # (because aws_lambda_event_source_mapping.sqs_trigger is not in configuration)
  - resource "aws_lambda_event_source_mapping" "sqs_trigger" {
      - batch_size                         = 1 -> null
      - bisect_batch_on_function_error     = false -> null
      - enabled                            = true -> null
      - event_source_arn                   = "arn:aws:sqs:us-east-1:816923827429:clash-bot-event-sqs-development.fifo" -> null
      - function_arn                       = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-handler" -> null
      - function_name                      = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-handler" -> null
      - function_response_types            = [] -> null
      - id                                 = "bf5ea823-a758-4eb0-88b5-bae1b4ed37b9" -> null
      - last_modified                      = "2023-11-13T05:32:45Z" -> null
      - maximum_batching_window_in_seconds = 0 -> null
      - maximum_record_age_in_seconds      = 0 -> null
      - maximum_retry_attempts             = 0 -> null
      - parallelization_factor             = 0 -> null
      - queues                             = [] -> null
      - state                              = "Enabled" -> null
      - state_transition_reason            = "USER_INITIATED" -> null
      - topics                             = [] -> null
      - tumbling_window_in_seconds         = 0 -> null
      - uuid                               = "bf5ea823-a758-4eb0-88b5-bae1b4ed37b9" -> null
    }

  # aws_lambda_function.event_handler_lambda will be destroyed
  # (because aws_lambda_function.event_handler_lambda is not in configuration)
  - resource "aws_lambda_function" "event_handler_lambda" {
      - architectures                  = [
          - "x86_64",
        ] -> null
      - arn                            = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-handler" -> null
      - function_name                  = "clash-bot-event-handler" -> null
      - handler                        = "prod/handler.handler" -> null
      - id                             = "clash-bot-event-handler" -> null
      - invoke_arn                     = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-handler/invocations" -> null
      - last_modified                  = "2023-11-13T23:43:11.000+0000" -> null
      - layers                         = [] -> null
      - memory_size                    = 128 -> null
      - package_type                   = "Zip" -> null
      - publish                        = false -> null
      - qualified_arn                  = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-handler:$LATEST" -> null
      - qualified_invoke_arn           = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-handler:$LATEST/invocations" -> null
      - reserved_concurrent_executions = -1 -> null
      - role                           = "arn:aws:iam::816923827429:role/clash_bot_lambda_event_handler_exec_role" -> null
      - runtime                        = "nodejs16.x" -> null
      - s3_bucket                      = "clash-bot-lambda-bucket" -> null
      - s3_key                         = "artifacts/development/16/event-handler-16.zip" -> null
      - skip_destroy                   = false -> null
      - source_code_hash               = "vGHR1g4e2dk8pq/x38X2MLv2ArOEGEzxo0RYT3S1MQQ=" -> null
      - source_code_size               = 22906193 -> null
      - tags                           = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all                       = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - timeout                        = 3 -> null
      - version                        = "$LATEST" -> null

      - environment {
          - variables = {
              - "CREATE_TEAM_SF_ARN"            = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development"
              - "CREATE_TENTATIVE_QUEUE_SF_ARN" = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development"
              - "DELETE_TEAM_SF_ARN"            = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development"
              - "DELETE_TENTATIVE_QUEUE_SF_ARN" = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development"
              - "UPDATE_TEAM_SF_ARN"            = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development"
              - "UPDATE_TENTATIVE_QUEUE_SF_ARN" = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development"
            } -> null
        }

      - ephemeral_storage {
          - size = 512 -> null
        }

      - tracing_config {
          - mode = "PassThrough" -> null
        }
    }

  # aws_lambda_function.event_publisher_lambda will be destroyed
  # (because aws_lambda_function.event_publisher_lambda is not in configuration)
  - resource "aws_lambda_function" "event_publisher_lambda" {
      - architectures                  = [
          - "x86_64",
        ] -> null
      - arn                            = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-publisher" -> null
      - function_name                  = "clash-bot-event-publisher" -> null
      - handler                        = "prod/handler.handler" -> null
      - id                             = "clash-bot-event-publisher" -> null
      - invoke_arn                     = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-publisher/invocations" -> null
      - last_modified                  = "2023-11-13T23:43:10.000+0000" -> null
      - layers                         = [] -> null
      - memory_size                    = 128 -> null
      - package_type                   = "Zip" -> null
      - publish                        = false -> null
      - qualified_arn                  = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-publisher:$LATEST" -> null
      - qualified_invoke_arn           = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-publisher:$LATEST/invocations" -> null
      - reserved_concurrent_executions = -1 -> null
      - role                           = "arn:aws:iam::816923827429:role/clash_bot_lambda_event_publisher_exec_role" -> null
      - runtime                        = "nodejs16.x" -> null
      - s3_bucket                      = "clash-bot-lambda-bucket" -> null
      - s3_key                         = "artifacts/development/16/event-publisher-16.zip" -> null
      - skip_destroy                   = false -> null
      - source_code_hash               = "X8xJzJcmd/NUqLwqssW42i1uHpNVjyhvzsxyRhpJZ3U=" -> null
      - source_code_size               = 22633248 -> null
      - tags                           = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all                       = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - timeout                        = 3 -> null
      - version                        = "$LATEST" -> null

      - environment {
          - variables = {
              - "QUEUE_URL" = "arn:aws:sqs:us-east-1:816923827429:clash-bot-event-sqs-development.fifo"
            } -> null
        }

      - ephemeral_storage {
          - size = 512 -> null
        }

      - tracing_config {
          - mode = "PassThrough" -> null
        }
    }

  # aws_lambda_permission.apigw will be destroyed
  # (because aws_lambda_permission.apigw is not in configuration)
  - resource "aws_lambda_permission" "apigw" {
      - action        = "lambda:InvokeFunction" -> null
      - function_name = "clash-bot-event-publisher" -> null
      - id            = "AllowExecutionFromAPIGateway" -> null
      - principal     = "apigateway.amazonaws.com" -> null
      - source_arn    = "arn:aws:execute-api:us-east-1:816923827429:w6261upn4d/*/$default" -> null
      - statement_id  = "AllowExecutionFromAPIGateway" -> null
    }

  # module.api_gateway.aws_apigatewayv2_api.this[0] will be destroyed
  # (because aws_apigatewayv2_api.this is not in configuration)
  - resource "aws_apigatewayv2_api" "this" {
      - api_endpoint                 = "https://w6261upn4d.execute-api.us-east-1.amazonaws.com" -> null
      - api_key_selection_expression = "$request.header.x-api-key" -> null
      - arn                          = "arn:aws:apigateway:us-east-1::/apis/w6261upn4d" -> null
      - description                  = "Clash Bot Workflow API Gateway for the development environment" -> null
      - disable_execute_api_endpoint = false -> null
      - execution_arn                = "arn:aws:execute-api:us-east-1:816923827429:w6261upn4d" -> null
      - id                           = "w6261upn4d" -> null
      - name                         = "clash-bot-workflow-development" -> null
      - protocol_type                = "HTTP" -> null
      - route_selection_expression   = "$request.method $request.path" -> null
      - tags                         = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all                     = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null

      - cors_configuration {
          - allow_credentials = false -> null
          - allow_headers     = [
              - "authorization",
              - "content-type",
              - "x-amz-date",
              - "x-amz-security-token",
              - "x-amz-user-agent",
              - "x-api-key",
            ] -> null
          - allow_methods     = [
              - "*",
            ] -> null
          - allow_origins     = [
              - "*",
            ] -> null
          - expose_headers    = [] -> null
          - max_age           = 0 -> null
        }
    }

  # module.api_gateway.aws_apigatewayv2_api_mapping.this[0] will be destroyed
  # (because aws_apigatewayv2_api_mapping.this is not in configuration)
  - resource "aws_apigatewayv2_api_mapping" "this" {
      - api_id      = "w6261upn4d" -> null
      - domain_name = "clash-bot.ninja" -> null
      - id          = "cupiqn" -> null
      - stage       = "$default" -> null
    }

  # module.api_gateway.aws_apigatewayv2_domain_name.this[0] will be destroyed
  # (because aws_apigatewayv2_domain_name.this is not in configuration)
  - resource "aws_apigatewayv2_domain_name" "this" {
      - api_mapping_selection_expression = "$request.basepath" -> null
      - arn                              = "arn:aws:apigateway:us-east-1::/domainnames/clash-bot.ninja" -> null
      - domain_name                      = "clash-bot.ninja" -> null
      - id                               = "clash-bot.ninja" -> null
      - tags                             = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all                         = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null

      - domain_name_configuration {
          - certificate_arn    = "arn:aws:acm:us-east-1:816923827429:certificate/1d277044-1781-46f9-b693-50c8ff95546a" -> null
          - endpoint_type      = "REGIONAL" -> null
          - hosted_zone_id     = "Z1UJRXOUMOOFQ8" -> null
          - security_policy    = "TLS_1_2" -> null
          - target_domain_name = "d-87umpg8fpg.execute-api.us-east-1.amazonaws.com" -> null
        }
    }

  # module.api_gateway.aws_apigatewayv2_integration.this["$default"] will be destroyed
  # (because aws_apigatewayv2_integration.this is not in configuration)
  - resource "aws_apigatewayv2_integration" "this" {
      - api_id                 = "w6261upn4d" -> null
      - connection_type        = "INTERNET" -> null
      - id                     = "5tztbve" -> null
      - integration_method     = "POST" -> null
      - integration_type       = "AWS_PROXY" -> null
      - integration_uri        = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-publisher" -> null
      - payload_format_version = "1.0" -> null
      - request_parameters     = {} -> null
      - request_templates      = {} -> null
      - timeout_milliseconds   = 30000 -> null
    }

  # module.api_gateway.aws_apigatewayv2_route.this["$default"] will be destroyed
  # (because aws_apigatewayv2_route.this is not in configuration)
  - resource "aws_apigatewayv2_route" "this" {
      - api_id               = "w6261upn4d" -> null
      - api_key_required     = false -> null
      - authorization_scopes = [] -> null
      - authorization_type   = "NONE" -> null
      - id                   = "ycntu3f" -> null
      - request_models       = {} -> null
      - route_key            = "$default" -> null
      - target               = "integrations/5tztbve" -> null
    }

  # module.api_gateway.aws_apigatewayv2_stage.default[0] will be destroyed
  # (because aws_apigatewayv2_stage.default is not in configuration)
  - resource "aws_apigatewayv2_stage" "default" {
      - api_id          = "w6261upn4d" -> null
      - arn             = "arn:aws:apigateway:us-east-1::/apis/w6261upn4d/stages/$default" -> null
      - auto_deploy     = true -> null
      - deployment_id   = "ono2m0" -> null
      - execution_arn   = "arn:aws:execute-api:us-east-1:816923827429:w6261upn4d/$default" -> null
      - id              = "$default" -> null
      - invoke_url      = "https://w6261upn4d.execute-api.us-east-1.amazonaws.com/" -> null
      - name            = "$default" -> null
      - stage_variables = {} -> null
      - tags            = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all        = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null

      - access_log_settings {
          - destination_arn = "arn:aws:logs:us-east-1:816923827429:log-group:api_gateway_default_log_group" -> null
          - format          = "$context.identity.sourceIp - - [$context.requestTime] \"$context.httpMethod $context.routeKey $context.protocol\" $context.status $context.responseLength $context.requestId $context.integrationErrorMessage" -> null
        }

      - default_route_settings {
          - data_trace_enabled       = false -> null
          - detailed_metrics_enabled = false -> null
          - throttling_burst_limit   = 0 -> null
          - throttling_rate_limit    = 0 -> null
        }
    }

  # module.clash_bot_event_sqs.aws_sqs_queue.this[0] will be destroyed
  # (because aws_sqs_queue.this is not in configuration)
  - resource "aws_sqs_queue" "this" {
      - arn                               = "arn:aws:sqs:us-east-1:816923827429:clash-bot-event-sqs-development.fifo" -> null
      - content_based_deduplication       = false -> null
      - deduplication_scope               = "queue" -> null
      - delay_seconds                     = 0 -> null
      - fifo_queue                        = true -> null
      - fifo_throughput_limit             = "perQueue" -> null
      - id                                = "https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo" -> null
      - kms_data_key_reuse_period_seconds = 300 -> null
      - max_message_size                  = 262144 -> null
      - message_retention_seconds         = 345600 -> null
      - name                              = "clash-bot-event-sqs-development.fifo" -> null
      - receive_wait_time_seconds         = 0 -> null
      - sqs_managed_sse_enabled           = true -> null
      - tags                              = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all                          = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - url                               = "https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo" -> null
      - visibility_timeout_seconds        = 30 -> null
    }

  # module.create_team_step_function.aws_iam_policy.service["dynamodb"] will be destroyed
  # (because aws_iam_policy.service is not in configuration)
  - resource "aws_iam_policy" "service" {
      - arn       = "arn:aws:iam::816923827429:policy/retrieve-teams-development-dynamodb" -> null
      - id        = "arn:aws:iam::816923827429:policy/retrieve-teams-development-dynamodb" -> null
      - name      = "retrieve-teams-development-dynamodb" -> null
      - path      = "/" -> null
      - policy    = jsonencode(
            {
              - Statement = [
                  - {
                      - Action   = [
                          - "dynamodb:UpdateItem",
                          - "dynamodb:PutItem",
                          - "dynamodb:GetItem",
                          - "dynamodb:DeleteItem",
                        ]
                      - Effect   = "Allow"
                      - Resource = "arn:aws:dynamodb:us-east-1:816923827429:table/clash-bot-workflow-development"
                      - Sid      = "dynamodbDynamodb"
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> null
      - policy_id = "ANPA34NDULTS2RUUQ6K4G" -> null
      - tags      = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all  = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
    }

  # module.create_team_step_function.aws_iam_policy_attachment.service["dynamodb"] will be destroyed
  # (because aws_iam_policy_attachment.service is not in configuration)
  - resource "aws_iam_policy_attachment" "service" {
      - groups     = [] -> null
      - id         = "retrieve-teams-development-dynamodb" -> null
      - name       = "retrieve-teams-development-dynamodb" -> null
      - policy_arn = "arn:aws:iam::816923827429:policy/retrieve-teams-development-dynamodb" -> null
      - roles      = [
          - "retrieve-teams-development",
        ] -> null
      - users      = [] -> null
    }

  # module.create_team_step_function.aws_iam_role.this[0] will be destroyed
  # (because aws_iam_role.this is not in configuration)
  - resource "aws_iam_role" "this" {
      - arn                   = "arn:aws:iam::816923827429:role/retrieve-teams-development" -> null
      - assume_role_policy    = jsonencode(
            {
              - Statement = [
                  - {
                      - Action    = "sts:AssumeRole"
                      - Effect    = "Allow"
                      - Principal = {
                          - Service = "states.us-east-1.amazonaws.com"
                        }
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> null
      - create_date           = "2023-11-13T02:49:36Z" -> null
      - force_detach_policies = true -> null
      - id                    = "retrieve-teams-development" -> null
      - managed_policy_arns   = [
          - "arn:aws:iam::816923827429:policy/retrieve-teams-development-dynamodb",
        ] -> null
      - max_session_duration  = 3600 -> null
      - name                  = "retrieve-teams-development" -> null
      - path                  = "/" -> null
      - tags                  = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all              = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - unique_id             = "AROA34NDULTSQ5CDWUZDA" -> null
    }

  # module.create_team_step_function.aws_sfn_state_machine.this[0] will be destroyed
  # (because aws_sfn_state_machine.this is not in configuration)
  - resource "aws_sfn_state_machine" "this" {
      - arn           = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development" -> null
      - creation_date = "2023-11-13T02:49:43Z" -> null
      - definition    = <<-EOT
            {
                "Comment": "A Hello World example of the Amazon States Language using Pass states",
                "StartAt": "Hello",
                "States": {
                  "Hello": {
                    "Type": "Pass",
                    "Result": "Hello",
                    "Next": "World"
                  },
                  "World": {
                    "Type": "Pass",
                    "Result": "World",
                    "End": true
                  }
                }
              }
        EOT -> null
      - id            = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development" -> null
      - name          = "retrieve-teams-development" -> null
      - publish       = false -> null
      - role_arn      = "arn:aws:iam::816923827429:role/retrieve-teams-development" -> null
      - status        = "ACTIVE" -> null
      - tags          = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
          - "Name"        = "retrieve-teams-development"
        } -> null
      - tags_all      = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
          - "Name"        = "retrieve-teams-development"
        } -> null
      - type          = "STANDARD" -> null

      - logging_configuration {
          - include_execution_data = false -> null
          - level                  = "OFF" -> null
        }

      - timeouts {}

      - tracing_configuration {
          - enabled = false -> null
        }
    }

  # module.dynamodb_table.aws_dynamodb_table.this[0] will be destroyed
  # (because aws_dynamodb_table.this is not in configuration)
  - resource "aws_dynamodb_table" "this" {
      - arn                         = "arn:aws:dynamodb:us-east-1:816923827429:table/clash-bot-workflow-development" -> null
      - billing_mode                = "PROVISIONED" -> null
      - deletion_protection_enabled = false -> null
      - hash_key                    = "type" -> null
      - id                          = "clash-bot-workflow-development" -> null
      - name                        = "clash-bot-workflow-development" -> null
      - range_key                   = "id" -> null
      - read_capacity               = 1 -> null
      - stream_enabled              = false -> null
      - table_class                 = "STANDARD" -> null
      - tags                        = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
          - "Name"        = "clash-bot-workflow-development"
        } -> null
      - tags_all                    = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
          - "Name"        = "clash-bot-workflow-development"
        } -> null
      - write_capacity              = 5 -> null

      - attribute {
          - name = "id" -> null
          - type = "S" -> null
        }
      - attribute {
          - name = "type" -> null
          - type = "S" -> null
        }

      - point_in_time_recovery {
          - enabled = false -> null
        }

      - timeouts {
          - create = "10m" -> null
          - delete = "10m" -> null
          - update = "60m" -> null
        }

      - ttl {
          - enabled = false -> null
        }
    }

Plan: 0 to add, 0 to change, 23 to destroy.

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - plan

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Prerequisite Plan 📖success

Terraform Validation 🤖success

Show Plan

Prerequisites


terraform
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.data.aws_region.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow - plan

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Workflow Plan 📖success

Terraform Validation 🤖success

Show Plan

Prerequisites


terraform
aws_iam_role_policy_attachment.lambda_publisher_exec_policy: Refreshing state... [id=clash_bot_lambda_event_publisher_exec_role-20231113224304286700000001]
module.api_gateway.aws_apigatewayv2_integration.this["$default"]: Refreshing state... [id=5tztbve]
module.api_gateway.aws_apigatewayv2_api_mapping.this[0]: Refreshing state... [id=cupiqn]
module.api_gateway.aws_apigatewayv2_route.this["$default"]: Refreshing state... [id=ycntu3f]
module.dynamodb_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-workflow-development]
module.create_team_step_function.aws_sfn_state_machine.this[0]: Refreshing state... [id=arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development]
module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default]
aws_iam_role_policy_attachment.lambda_handler_exec_policy: Refreshing state... [id=clash_bot_lambda_event_handler_exec_role-20231113053238999600000002]
module.create_team_step_function.aws_iam_policy_attachment.service["dynamodb"]: Refreshing state... [id=retrieve-teams-development-dynamodb]
module.api_gateway.aws_apigatewayv2_domain_name.this[0]: Refreshing state... [id=clash-bot.ninja]
module.create_team_step_function.aws_iam_role.this[0]: Refreshing state... [id=retrieve-teams-development]
aws_iam_role.lambda_publisher_exec: Refreshing state... [id=clash_bot_lambda_event_publisher_exec_role]
module.api_gateway.aws_apigatewayv2_api.this[0]: Refreshing state... [id=w6261upn4d]
aws_iam_role.lambda_handler_exec: Refreshing state... [id=clash_bot_lambda_event_handler_exec_role]
aws_iam_policy.event_publisher_policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/ClashBotEventPublisherPolicy]
aws_iam_policy.event_handler_policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/ClashBotWorkflowEventHandlerPolicy]
aws_lambda_function.event_handler_lambda: Refreshing state... [id=clash-bot-event-handler]
module.clash_bot_event_sqs.aws_sqs_queue.this[0]: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo]
aws_lambda_event_source_mapping.sqs_trigger: Refreshing state... [id=bf5ea823-a758-4eb0-88b5-bae1b4ed37b9]
aws_lambda_function.event_publisher_lambda: Refreshing state... [id=clash-bot-event-publisher]
aws_lambda_permission.apigw: Refreshing state... [id=AllowExecutionFromAPIGateway]
aws_cloudwatch_log_group.api_gateway_default_log_group: Refreshing state... [id=api_gateway_default_log_group]
module.create_team_step_function.aws_iam_policy.service["dynamodb"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/retrieve-teams-development-dynamodb]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # aws_cloudwatch_log_group.api_gateway_default_log_group will be destroyed
  # (because aws_cloudwatch_log_group.api_gateway_default_log_group is not in configuration)
  - resource "aws_cloudwatch_log_group" "api_gateway_default_log_group" {
      - arn               = "arn:aws:logs:us-east-1:816923827429:log-group:api_gateway_default_log_group" -> null
      - id                = "api_gateway_default_log_group" -> null
      - name              = "api_gateway_default_log_group" -> null
      - retention_in_days = 0 -> null
      - skip_destroy      = false -> null
      - tags              = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all          = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
    }

  # aws_iam_policy.event_handler_policy will be destroyed
  # (because aws_iam_policy.event_handler_policy is not in configuration)
  - resource "aws_iam_policy" "event_handler_policy" {
      - arn         = "arn:aws:iam::816923827429:policy/ClashBotWorkflowEventHandlerPolicy" -> null
      - description = "Allows the event handler lambda to interact with SQS and CloudWatch Logs" -> null
      - id          = "arn:aws:iam::816923827429:policy/ClashBotWorkflowEventHandlerPolicy" -> null
      - name        = "ClashBotWorkflowEventHandlerPolicy" -> null
      - path        = "/" -> null
      - policy      = jsonencode(
            {
              - Statement = [
                  - {
                      - Action   = [
                          - "logs:PutLogEvents",
                          - "logs:CreateLogStream",
                          - "logs:CreateLogGroup",
                        ]
                      - Effect   = "Allow"
                      - Resource = "*"
                    },
                  - {
                      - Action   = [
                          - "sqs:ReceiveMessage",
                          - "sqs:GetQueueAttributes",
                          - "sqs:DeleteMessage",
                        ]
                      - Effect   = "Allow"
                      - Resource = "*"
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> null
      - policy_id   = "ANPA34NDULTSTOCB5DJNA" -> null
      - tags        = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all    = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
    }

  # aws_iam_policy.event_publisher_policy will be destroyed
  # (because aws_iam_policy.event_publisher_policy is not in configuration)
  - resource "aws_iam_policy" "event_publisher_policy" {
      - arn         = "arn:aws:iam::816923827429:policy/ClashBotEventPublisherPolicy" -> null
      - description = "Allows the event publisher lambda to publish events to the event queue and log events to CloudWatch" -> null
      - id          = "arn:aws:iam::816923827429:policy/ClashBotEventPublisherPolicy" -> null
      - name        = "ClashBotEventPublisherPolicy" -> null
      - path        = "/" -> null
      - policy      = jsonencode(
            {
              - Statement = [
                  - {
                      - Action   = [
                          - "logs:PutLogEvents",
                          - "logs:CreateLogStream",
                          - "logs:CreateLogGroup",
                        ]
                      - Effect   = "Allow"
                      - Resource = "*"
                    },
                  - {
                      - Action   = [
                          - "sqs:ReceiveMessage",
                          - "sqs:GetQueueAttributes",
                          - "sqs:DeleteMessage",
                        ]
                      - Effect   = "Allow"
                      - Resource = "*"
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> null
      - policy_id   = "ANPA34NDULTSUPHUYI3RK" -> null
      - tags        = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all    = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
    }

  # aws_iam_role.lambda_handler_exec will be destroyed
  # (because aws_iam_role.lambda_handler_exec is not in configuration)
  - resource "aws_iam_role" "lambda_handler_exec" {
      - arn                   = "arn:aws:iam::816923827429:role/clash_bot_lambda_event_handler_exec_role" -> null
      - assume_role_policy    = jsonencode(
            {
              - Statement = [
                  - {
                      - Action    = "sts:AssumeRole"
                      - Effect    = "Allow"
                      - Principal = {
                          - Service = "lambda.amazonaws.com"
                        }
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> null
      - create_date           = "2023-11-13T02:49:36Z" -> null
      - force_detach_policies = false -> null
      - id                    = "clash_bot_lambda_event_handler_exec_role" -> null
      - managed_policy_arns   = [
          - "arn:aws:iam::816923827429:policy/ClashBotWorkflowEventHandlerPolicy",
        ] -> null
      - max_session_duration  = 3600 -> null
      - name                  = "clash_bot_lambda_event_handler_exec_role" -> null
      - path                  = "/" -> null
      - tags                  = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all              = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - unique_id             = "AROA34NDULTSYRDU5SVUY" -> null
    }

  # aws_iam_role.lambda_publisher_exec will be destroyed
  # (because aws_iam_role.lambda_publisher_exec is not in configuration)
  - resource "aws_iam_role" "lambda_publisher_exec" {
      - arn                   = "arn:aws:iam::816923827429:role/clash_bot_lambda_event_publisher_exec_role" -> null
      - assume_role_policy    = jsonencode(
            {
              - Statement = [
                  - {
                      - Action    = "sts:AssumeRole"
                      - Effect    = "Allow"
                      - Principal = {
                          - Service = "lambda.amazonaws.com"
                        }
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> null
      - create_date           = "2023-11-13T02:49:36Z" -> null
      - force_detach_policies = false -> null
      - id                    = "clash_bot_lambda_event_publisher_exec_role" -> null
      - managed_policy_arns   = [
          - "arn:aws:iam::816923827429:policy/ClashBotEventPublisherPolicy",
        ] -> null
      - max_session_duration  = 3600 -> null
      - name                  = "clash_bot_lambda_event_publisher_exec_role" -> null
      - path                  = "/" -> null
      - tags                  = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all              = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - unique_id             = "AROA34NDULTSZMHQ67PGD" -> null
    }

  # aws_iam_role_policy_attachment.lambda_handler_exec_policy will be destroyed
  # (because aws_iam_role_policy_attachment.lambda_handler_exec_policy is not in configuration)
  - resource "aws_iam_role_policy_attachment" "lambda_handler_exec_policy" {
      - id         = "clash_bot_lambda_event_handler_exec_role-20231113053238999600000002" -> null
      - policy_arn = "arn:aws:iam::816923827429:policy/ClashBotWorkflowEventHandlerPolicy" -> null
      - role       = "clash_bot_lambda_event_handler_exec_role" -> null
    }

  # aws_iam_role_policy_attachment.lambda_publisher_exec_policy will be destroyed
  # (because aws_iam_role_policy_attachment.lambda_publisher_exec_policy is not in configuration)
  - resource "aws_iam_role_policy_attachment" "lambda_publisher_exec_policy" {
      - id         = "clash_bot_lambda_event_publisher_exec_role-20231113224304286700000001" -> null
      - policy_arn = "arn:aws:iam::816923827429:policy/ClashBotEventPublisherPolicy" -> null
      - role       = "clash_bot_lambda_event_publisher_exec_role" -> null
    }

  # aws_lambda_event_source_mapping.sqs_trigger will be destroyed
  # (because aws_lambda_event_source_mapping.sqs_trigger is not in configuration)
  - resource "aws_lambda_event_source_mapping" "sqs_trigger" {
      - batch_size                         = 1 -> null
      - bisect_batch_on_function_error     = false -> null
      - enabled                            = true -> null
      - event_source_arn                   = "arn:aws:sqs:us-east-1:816923827429:clash-bot-event-sqs-development.fifo" -> null
      - function_arn                       = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-handler" -> null
      - function_name                      = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-handler" -> null
      - function_response_types            = [] -> null
      - id                                 = "bf5ea823-a758-4eb0-88b5-bae1b4ed37b9" -> null
      - last_modified                      = "2023-11-13T05:32:45Z" -> null
      - maximum_batching_window_in_seconds = 0 -> null
      - maximum_record_age_in_seconds      = 0 -> null
      - maximum_retry_attempts             = 0 -> null
      - parallelization_factor             = 0 -> null
      - queues                             = [] -> null
      - state                              = "Enabled" -> null
      - state_transition_reason            = "USER_INITIATED" -> null
      - topics                             = [] -> null
      - tumbling_window_in_seconds         = 0 -> null
      - uuid                               = "bf5ea823-a758-4eb0-88b5-bae1b4ed37b9" -> null
    }

  # aws_lambda_function.event_handler_lambda will be destroyed
  # (because aws_lambda_function.event_handler_lambda is not in configuration)
  - resource "aws_lambda_function" "event_handler_lambda" {
      - architectures                  = [
          - "x86_64",
        ] -> null
      - arn                            = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-handler" -> null
      - function_name                  = "clash-bot-event-handler" -> null
      - handler                        = "prod/handler.handler" -> null
      - id                             = "clash-bot-event-handler" -> null
      - invoke_arn                     = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-handler/invocations" -> null
      - last_modified                  = "2023-11-13T23:43:11.000+0000" -> null
      - layers                         = [] -> null
      - memory_size                    = 128 -> null
      - package_type                   = "Zip" -> null
      - publish                        = false -> null
      - qualified_arn                  = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-handler:$LATEST" -> null
      - qualified_invoke_arn           = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-handler:$LATEST/invocations" -> null
      - reserved_concurrent_executions = -1 -> null
      - role                           = "arn:aws:iam::816923827429:role/clash_bot_lambda_event_handler_exec_role" -> null
      - runtime                        = "nodejs16.x" -> null
      - s3_bucket                      = "clash-bot-lambda-bucket" -> null
      - s3_key                         = "artifacts/development/16/event-handler-16.zip" -> null
      - skip_destroy                   = false -> null
      - source_code_hash               = "vGHR1g4e2dk8pq/x38X2MLv2ArOEGEzxo0RYT3S1MQQ=" -> null
      - source_code_size               = 22906193 -> null
      - tags                           = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all                       = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - timeout                        = 3 -> null
      - version                        = "$LATEST" -> null

      - environment {
          - variables = {
              - "CREATE_TEAM_SF_ARN"            = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development"
              - "CREATE_TENTATIVE_QUEUE_SF_ARN" = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development"
              - "DELETE_TEAM_SF_ARN"            = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development"
              - "DELETE_TENTATIVE_QUEUE_SF_ARN" = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development"
              - "UPDATE_TEAM_SF_ARN"            = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development"
              - "UPDATE_TENTATIVE_QUEUE_SF_ARN" = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development"
            } -> null
        }

      - ephemeral_storage {
          - size = 512 -> null
        }

      - tracing_config {
          - mode = "PassThrough" -> null
        }
    }

  # aws_lambda_function.event_publisher_lambda will be destroyed
  # (because aws_lambda_function.event_publisher_lambda is not in configuration)
  - resource "aws_lambda_function" "event_publisher_lambda" {
      - architectures                  = [
          - "x86_64",
        ] -> null
      - arn                            = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-publisher" -> null
      - function_name                  = "clash-bot-event-publisher" -> null
      - handler                        = "prod/handler.handler" -> null
      - id                             = "clash-bot-event-publisher" -> null
      - invoke_arn                     = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-publisher/invocations" -> null
      - last_modified                  = "2023-11-13T23:43:10.000+0000" -> null
      - layers                         = [] -> null
      - memory_size                    = 128 -> null
      - package_type                   = "Zip" -> null
      - publish                        = false -> null
      - qualified_arn                  = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-publisher:$LATEST" -> null
      - qualified_invoke_arn           = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-publisher:$LATEST/invocations" -> null
      - reserved_concurrent_executions = -1 -> null
      - role                           = "arn:aws:iam::816923827429:role/clash_bot_lambda_event_publisher_exec_role" -> null
      - runtime                        = "nodejs16.x" -> null
      - s3_bucket                      = "clash-bot-lambda-bucket" -> null
      - s3_key                         = "artifacts/development/16/event-publisher-16.zip" -> null
      - skip_destroy                   = false -> null
      - source_code_hash               = "X8xJzJcmd/NUqLwqssW42i1uHpNVjyhvzsxyRhpJZ3U=" -> null
      - source_code_size               = 22633248 -> null
      - tags                           = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all                       = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - timeout                        = 3 -> null
      - version                        = "$LATEST" -> null

      - environment {
          - variables = {
              - "QUEUE_URL" = "arn:aws:sqs:us-east-1:816923827429:clash-bot-event-sqs-development.fifo"
            } -> null
        }

      - ephemeral_storage {
          - size = 512 -> null
        }

      - tracing_config {
          - mode = "PassThrough" -> null
        }
    }

  # aws_lambda_permission.apigw will be destroyed
  # (because aws_lambda_permission.apigw is not in configuration)
  - resource "aws_lambda_permission" "apigw" {
      - action        = "lambda:InvokeFunction" -> null
      - function_name = "clash-bot-event-publisher" -> null
      - id            = "AllowExecutionFromAPIGateway" -> null
      - principal     = "apigateway.amazonaws.com" -> null
      - source_arn    = "arn:aws:execute-api:us-east-1:816923827429:w6261upn4d/*/$default" -> null
      - statement_id  = "AllowExecutionFromAPIGateway" -> null
    }

  # module.api_gateway.aws_apigatewayv2_api.this[0] will be destroyed
  # (because aws_apigatewayv2_api.this is not in configuration)
  - resource "aws_apigatewayv2_api" "this" {
      - api_endpoint                 = "https://w6261upn4d.execute-api.us-east-1.amazonaws.com" -> null
      - api_key_selection_expression = "$request.header.x-api-key" -> null
      - arn                          = "arn:aws:apigateway:us-east-1::/apis/w6261upn4d" -> null
      - description                  = "Clash Bot Workflow API Gateway for the development environment" -> null
      - disable_execute_api_endpoint = false -> null
      - execution_arn                = "arn:aws:execute-api:us-east-1:816923827429:w6261upn4d" -> null
      - id                           = "w6261upn4d" -> null
      - name                         = "clash-bot-workflow-development" -> null
      - protocol_type                = "HTTP" -> null
      - route_selection_expression   = "$request.method $request.path" -> null
      - tags                         = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all                     = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null

      - cors_configuration {
          - allow_credentials = false -> null
          - allow_headers     = [
              - "authorization",
              - "content-type",
              - "x-amz-date",
              - "x-amz-security-token",
              - "x-amz-user-agent",
              - "x-api-key",
            ] -> null
          - allow_methods     = [
              - "*",
            ] -> null
          - allow_origins     = [
              - "*",
            ] -> null
          - expose_headers    = [] -> null
          - max_age           = 0 -> null
        }
    }

  # module.api_gateway.aws_apigatewayv2_api_mapping.this[0] will be destroyed
  # (because aws_apigatewayv2_api_mapping.this is not in configuration)
  - resource "aws_apigatewayv2_api_mapping" "this" {
      - api_id      = "w6261upn4d" -> null
      - domain_name = "clash-bot.ninja" -> null
      - id          = "cupiqn" -> null
      - stage       = "$default" -> null
    }

  # module.api_gateway.aws_apigatewayv2_domain_name.this[0] will be destroyed
  # (because aws_apigatewayv2_domain_name.this is not in configuration)
  - resource "aws_apigatewayv2_domain_name" "this" {
      - api_mapping_selection_expression = "$request.basepath" -> null
      - arn                              = "arn:aws:apigateway:us-east-1::/domainnames/clash-bot.ninja" -> null
      - domain_name                      = "clash-bot.ninja" -> null
      - id                               = "clash-bot.ninja" -> null
      - tags                             = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all                         = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null

      - domain_name_configuration {
          - certificate_arn    = "arn:aws:acm:us-east-1:816923827429:certificate/1d277044-1781-46f9-b693-50c8ff95546a" -> null
          - endpoint_type      = "REGIONAL" -> null
          - hosted_zone_id     = "Z1UJRXOUMOOFQ8" -> null
          - security_policy    = "TLS_1_2" -> null
          - target_domain_name = "d-87umpg8fpg.execute-api.us-east-1.amazonaws.com" -> null
        }
    }

  # module.api_gateway.aws_apigatewayv2_integration.this["$default"] will be destroyed
  # (because aws_apigatewayv2_integration.this is not in configuration)
  - resource "aws_apigatewayv2_integration" "this" {
      - api_id                 = "w6261upn4d" -> null
      - connection_type        = "INTERNET" -> null
      - id                     = "5tztbve" -> null
      - integration_method     = "POST" -> null
      - integration_type       = "AWS_PROXY" -> null
      - integration_uri        = "arn:aws:lambda:us-east-1:816923827429:function:clash-bot-event-publisher" -> null
      - payload_format_version = "1.0" -> null
      - request_parameters     = {} -> null
      - request_templates      = {} -> null
      - timeout_milliseconds   = 30000 -> null
    }

  # module.api_gateway.aws_apigatewayv2_route.this["$default"] will be destroyed
  # (because aws_apigatewayv2_route.this is not in configuration)
  - resource "aws_apigatewayv2_route" "this" {
      - api_id               = "w6261upn4d" -> null
      - api_key_required     = false -> null
      - authorization_scopes = [] -> null
      - authorization_type   = "NONE" -> null
      - id                   = "ycntu3f" -> null
      - request_models       = {} -> null
      - route_key            = "$default" -> null
      - target               = "integrations/5tztbve" -> null
    }

  # module.api_gateway.aws_apigatewayv2_stage.default[0] will be destroyed
  # (because aws_apigatewayv2_stage.default is not in configuration)
  - resource "aws_apigatewayv2_stage" "default" {
      - api_id          = "w6261upn4d" -> null
      - arn             = "arn:aws:apigateway:us-east-1::/apis/w6261upn4d/stages/$default" -> null
      - auto_deploy     = true -> null
      - deployment_id   = "ono2m0" -> null
      - execution_arn   = "arn:aws:execute-api:us-east-1:816923827429:w6261upn4d/$default" -> null
      - id              = "$default" -> null
      - invoke_url      = "https://w6261upn4d.execute-api.us-east-1.amazonaws.com/" -> null
      - name            = "$default" -> null
      - stage_variables = {} -> null
      - tags            = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all        = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null

      - access_log_settings {
          - destination_arn = "arn:aws:logs:us-east-1:816923827429:log-group:api_gateway_default_log_group" -> null
          - format          = "$context.identity.sourceIp - - [$context.requestTime] \"$context.httpMethod $context.routeKey $context.protocol\" $context.status $context.responseLength $context.requestId $context.integrationErrorMessage" -> null
        }

      - default_route_settings {
          - data_trace_enabled       = false -> null
          - detailed_metrics_enabled = false -> null
          - throttling_burst_limit   = 0 -> null
          - throttling_rate_limit    = 0 -> null
        }
    }

  # module.clash_bot_event_sqs.aws_sqs_queue.this[0] will be destroyed
  # (because aws_sqs_queue.this is not in configuration)
  - resource "aws_sqs_queue" "this" {
      - arn                               = "arn:aws:sqs:us-east-1:816923827429:clash-bot-event-sqs-development.fifo" -> null
      - content_based_deduplication       = false -> null
      - deduplication_scope               = "queue" -> null
      - delay_seconds                     = 0 -> null
      - fifo_queue                        = true -> null
      - fifo_throughput_limit             = "perQueue" -> null
      - id                                = "https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo" -> null
      - kms_data_key_reuse_period_seconds = 300 -> null
      - max_message_size                  = 262144 -> null
      - message_retention_seconds         = 345600 -> null
      - name                              = "clash-bot-event-sqs-development.fifo" -> null
      - receive_wait_time_seconds         = 0 -> null
      - sqs_managed_sse_enabled           = true -> null
      - tags                              = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all                          = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - url                               = "https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo" -> null
      - visibility_timeout_seconds        = 30 -> null
    }

  # module.create_team_step_function.aws_iam_policy.service["dynamodb"] will be destroyed
  # (because aws_iam_policy.service is not in configuration)
  - resource "aws_iam_policy" "service" {
      - arn       = "arn:aws:iam::816923827429:policy/retrieve-teams-development-dynamodb" -> null
      - id        = "arn:aws:iam::816923827429:policy/retrieve-teams-development-dynamodb" -> null
      - name      = "retrieve-teams-development-dynamodb" -> null
      - path      = "/" -> null
      - policy    = jsonencode(
            {
              - Statement = [
                  - {
                      - Action   = [
                          - "dynamodb:UpdateItem",
                          - "dynamodb:PutItem",
                          - "dynamodb:GetItem",
                          - "dynamodb:DeleteItem",
                        ]
                      - Effect   = "Allow"
                      - Resource = "arn:aws:dynamodb:us-east-1:816923827429:table/clash-bot-workflow-development"
                      - Sid      = "dynamodbDynamodb"
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> null
      - policy_id = "ANPA34NDULTS2RUUQ6K4G" -> null
      - tags      = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all  = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
    }

  # module.create_team_step_function.aws_iam_policy_attachment.service["dynamodb"] will be destroyed
  # (because aws_iam_policy_attachment.service is not in configuration)
  - resource "aws_iam_policy_attachment" "service" {
      - groups     = [] -> null
      - id         = "retrieve-teams-development-dynamodb" -> null
      - name       = "retrieve-teams-development-dynamodb" -> null
      - policy_arn = "arn:aws:iam::816923827429:policy/retrieve-teams-development-dynamodb" -> null
      - roles      = [
          - "retrieve-teams-development",
        ] -> null
      - users      = [] -> null
    }

  # module.create_team_step_function.aws_iam_role.this[0] will be destroyed
  # (because aws_iam_role.this is not in configuration)
  - resource "aws_iam_role" "this" {
      - arn                   = "arn:aws:iam::816923827429:role/retrieve-teams-development" -> null
      - assume_role_policy    = jsonencode(
            {
              - Statement = [
                  - {
                      - Action    = "sts:AssumeRole"
                      - Effect    = "Allow"
                      - Principal = {
                          - Service = "states.us-east-1.amazonaws.com"
                        }
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> null
      - create_date           = "2023-11-13T02:49:36Z" -> null
      - force_detach_policies = true -> null
      - id                    = "retrieve-teams-development" -> null
      - managed_policy_arns   = [
          - "arn:aws:iam::816923827429:policy/retrieve-teams-development-dynamodb",
        ] -> null
      - max_session_duration  = 3600 -> null
      - name                  = "retrieve-teams-development" -> null
      - path                  = "/" -> null
      - tags                  = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - tags_all              = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
        } -> null
      - unique_id             = "AROA34NDULTSQ5CDWUZDA" -> null
    }

  # module.create_team_step_function.aws_sfn_state_machine.this[0] will be destroyed
  # (because aws_sfn_state_machine.this is not in configuration)
  - resource "aws_sfn_state_machine" "this" {
      - arn           = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development" -> null
      - creation_date = "2023-11-13T02:49:43Z" -> null
      - definition    = <<-EOT
            {
                "Comment": "A Hello World example of the Amazon States Language using Pass states",
                "StartAt": "Hello",
                "States": {
                  "Hello": {
                    "Type": "Pass",
                    "Result": "Hello",
                    "Next": "World"
                  },
                  "World": {
                    "Type": "Pass",
                    "Result": "World",
                    "End": true
                  }
                }
              }
        EOT -> null
      - id            = "arn:aws:states:us-east-1:816923827429:stateMachine:retrieve-teams-development" -> null
      - name          = "retrieve-teams-development" -> null
      - publish       = false -> null
      - role_arn      = "arn:aws:iam::816923827429:role/retrieve-teams-development" -> null
      - status        = "ACTIVE" -> null
      - tags          = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
          - "Name"        = "retrieve-teams-development"
        } -> null
      - tags_all      = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
          - "Name"        = "retrieve-teams-development"
        } -> null
      - type          = "STANDARD" -> null

      - logging_configuration {
          - include_execution_data = false -> null
          - level                  = "OFF" -> null
        }

      - timeouts {}

      - tracing_configuration {
          - enabled = false -> null
        }
    }

  # module.dynamodb_table.aws_dynamodb_table.this[0] will be destroyed
  # (because aws_dynamodb_table.this is not in configuration)
  - resource "aws_dynamodb_table" "this" {
      - arn                         = "arn:aws:dynamodb:us-east-1:816923827429:table/clash-bot-workflow-development" -> null
      - billing_mode                = "PROVISIONED" -> null
      - deletion_protection_enabled = false -> null
      - hash_key                    = "type" -> null
      - id                          = "clash-bot-workflow-development" -> null
      - name                        = "clash-bot-workflow-development" -> null
      - range_key                   = "id" -> null
      - read_capacity               = 1 -> null
      - stream_enabled              = false -> null
      - table_class                 = "STANDARD" -> null
      - tags                        = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
          - "Name"        = "clash-bot-workflow-development"
        } -> null
      - tags_all                    = {
          - "Application" = "ClashBot"
          - "Environment" = "development"
          - "Name"        = "clash-bot-workflow-development"
        } -> null
      - write_capacity              = 5 -> null

      - attribute {
          - name = "id" -> null
          - type = "S" -> null
        }
      - attribute {
          - name = "type" -> null
          - type = "S" -> null
        }

      - point_in_time_recovery {
          - enabled = false -> null
        }

      - timeouts {
          - create = "10m" -> null
          - delete = "10m" -> null
          - update = "60m" -> null
        }

      - ttl {
          - enabled = false -> null
        }
    }

Plan: 0 to add, 0 to change, 23 to destroy.

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
data.aws_caller_identity.current: Read complete after 1s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 1s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 1s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 5, 2023

Clash Bot Workflow PR Details

Lambda Function Versions used

Lambda Function Type Artifact Version
Event Publisher Foundation 206
Event Handler Foundation 206
Event Notifier Foundation 206
Websocket Publisher Foundation 206
Create Team Team 206
Retrieve Teams Team 206
Is Tournament Eligible Team 206

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Workflow Apply 📖success

Terraform Validation 🤖success

Show Run

Workflow Apply


terraform
aws_apigatewayv2_api.clash_bot_websocket_api: Refreshing state... [id=k10wm04op6]
module.api_gateway.aws_apigatewayv2_api.this[0]: Refreshing state... [id=r0loqlg3t3]
module.clash_bot_event_sqs.aws_sqs_queue.this[0]: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo]
module.dynamodb_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-workflow-development]
module.create_team_step_function.data.aws_region.current[0]: Reading...
module.retrieve_team_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=retrieve_team_exec_role-development]
module.tournament_eligibility_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=tournament_eligibility_exec_role-development]
aws_cloudwatch_log_group.api_gateway_default_log_group: Refreshing state... [id=api_gateway_default_log_group-development]
module.event_notifier_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_notifier_exec_role-development]
module.events_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-topics-development]
module.create_team_step_function.data.aws_region.current[0]: Read complete after 0s [id=us-east-1]
module.websocket_publisher_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=websocket_publisher_exec_role-development]
module.event_publisher_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_publisher_exec_role-development]
module.create_team_step_function.data.aws_caller_identity.current: Reading...
module.event_handler_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_handler_exec_role-development]
module.subscriber_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-subscriber-development]
module.create_team_step_function.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
data.aws_acm_certificate.issued: Reading...
module.create_team_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=create_team_exec_role-development]
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Read complete after 0s [id=4239894905]
module.create_team_step_function.aws_iam_role.this[0]: Refreshing state... [id=create-team-development]
module.event_publisher_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-publisher-Policy-development]
module.retrieve_team_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/retrieve-team-Policy-development]
module.create_team_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-Policy-development]
module.tournament_eligibility_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/tournament-eligibility-Policy-development]
module.retrieve_team_lambda.aws_lambda_function.lambda: Refreshing state... [id=retrieve-team-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Refreshing state... [id=tournament-eligibility-development]
aws_apigatewayv2_stage.clash_bot_websocket_api_stage: Refreshing state... [id=events-development]
module.event_publisher_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_publisher_exec_role-development-20231118000957978600000002]
module.event_publisher_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-publisher-development]
module.create_team_lambda.aws_lambda_function.lambda: Refreshing state... [id=create-team-development]
module.tournament_eligibility_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=tournament_eligibility_exec_role-development-20231118000958741200000004]
module.retrieve_team_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=retrieve_team_exec_role-development-20231118000958206700000003]
module.event_notifier_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-notifier-Policy-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-notifier-development]
module.create_team_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=create_team_exec_role-development-20231118000957795600000001]
module.event_notifier_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_notifier_exec_role-development-20231119090315299300000001]
aws_lambda_permission.apigw: Refreshing state... [id=AllowExecutionFromAPIGateway-development]
module.api_gateway.aws_apigatewayv2_integration.this["POST /api/v2/teams"]: Refreshing state... [id=zlvcq9c]
module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default]
aws_lambda_permission.clash_bot_ws_lambda_permission: Refreshing state... [id=terraform-20231119090321485100000002]
aws_apigatewayv2_integration.clash_bot_websocket_api_integration: Refreshing state... [id=dczcm2o]
data.aws_acm_certificate.issued: Read complete after 0s [id=arn:aws:acm:us-east-1:816923827429:certificate/1d277044-1781-46f9-b693-50c8ff95546a]
module.api_gateway.aws_apigatewayv2_domain_name.this[0]: Refreshing state... [id=clash-bot.ninja]
module.websocket_publisher_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/websocket-publisher-Policy-development]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Refreshing state... [id=websocket-publisher-development]
module.api_gateway.aws_apigatewayv2_route.this["POST /api/v2/teams"]: Refreshing state... [id=i2to2qo]
aws_apigatewayv2_route.clash_bot_connection_route: Refreshing state... [id=w7fedob]
aws_apigatewayv2_route.clash_bot_default_route: Refreshing state... [id=abcbmf8]
aws_apigatewayv2_route.clash_bot_disconnection_route: Refreshing state... [id=mofj5ku]
module.websocket_publisher_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=websocket_publisher_exec_role-development-20231125070134113800000001]
module.create_team_step_function.data.aws_iam_policy_document.service["lambda"]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Read complete after 0s [id=3233016293]
module.create_team_step_function.data.aws_iam_policy_document.service["lambda"]: Read complete after 0s [id=1009969589]
module.create_team_step_function.aws_sfn_state_machine.this[0]: Refreshing state... [id=arn:aws:states:us-east-1:816923827429:stateMachine:create-team-development]
module.create_team_step_function.aws_iam_policy.service["lambda"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-development-lambda]
module.create_team_step_function.aws_iam_policy.service["dynamodb"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-development-dynamodb]
aws_apigatewayv2_deployment.clash_bot_websocket_api_deployment: Refreshing state... [id=j94cin]
module.api_gateway.aws_apigatewayv2_api_mapping.this[0]: Refreshing state... [id=gt4pmg]
module.create_team_step_function.aws_iam_policy_attachment.service["lambda"]: Refreshing state... [id=create-team-development-lambda]
module.create_team_step_function.aws_iam_policy_attachment.service["dynamodb"]: Refreshing state... [id=create-team-development-dynamodb]
aws_lambda_permission.create_team_permission: Refreshing state... [id=CreateTeamPermission-development]
aws_lambda_permission.websocket_publisher_permission: Refreshing state... [id=WebSocketPublisherPermission-development]
aws_lambda_permission.tournament_eligibility_permission: Refreshing state... [id=TournamentEligibilityPermission-development]
module.event_handler_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-handler-Policy-development]
module.event_handler_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-handler-development]
module.event_handler_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_handler_exec_role-development-20231118001013189900000005]
aws_lambda_event_source_mapping.event_handler_sqs_trigger: Refreshing state... [id=7fd6c898-c397-49fa-b143-76747922a919]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.websocket_publisher_lambda.aws_iam_policy.policy will be updated in-place
  ~ resource "aws_iam_policy" "policy" {
        id          = "arn:aws:iam::816923827429:policy/websocket-publisher-Policy-development"
        name        = "websocket-publisher-Policy-development"
      ~ policy      = jsonencode(
          ~ {
              ~ Statement = [
                    # (1 unchanged element hidden)
                    {
                        Action   = [
                            "dynamodb:UpdateItem",
                            "dynamodb:Query",
                            "dynamodb:PutItem",
                            "dynamodb:GetItem",
                            "dynamodb:DeleteItem",
                            "dynamodb:BatchWriteItem",
                            "dynamodb:BatchGetItem",
                        ]
                        Effect   = "Allow"
                        Resource = "arn:aws:dynamodb:us-east-1:816923827429:table/clash-bot-topics-development"
                    },
                  ~ {
                      ~ Action   = [
                            "execute-api:Invoke",
                          + "execute-api:ManageConnections",
                        ]
                        # (2 unchanged attributes hidden)
                    },
                ]
                # (1 unchanged attribute hidden)
            }
        )
        tags        = {}
        # (5 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.
module.websocket_publisher_lambda.aws_iam_policy.policy: Modifying... [id=arn:aws:iam::816923827429:policy/websocket-publisher-Policy-development]
module.websocket_publisher_lambda.aws_iam_policy.policy: Modifications complete after 0s [id=arn:aws:iam::816923827429:policy/websocket-publisher-Policy-development]

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.

Outputs:

api-gateway-endpoint = "https://r0loqlg3t3.execute-api.us-east-1.amazonaws.com"
create-team-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:create-team-development"
event-handler-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:event-handler-development"
event-publisher-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:event-publisher-development"
event-sqs = "arn:aws:sqs:us-east-1:816923827429:clash-bot-event-sqs-development.fifo"
retrieve-team-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:retrieve-team-development"
step-function-arn = "arn:aws:states:us-east-1:816923827429:stateMachine:create-team-development"
tournament-eligibility-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:tournament-eligibility-development"

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 8, 2023

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
module.lambda_bucket.data.aws_partition.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 8, 2023

Clash Bot Workflow PR Details

Lambda Function Versions used

Lambda Function Type Artifact Version
Event Publisher Foundation 214
Event Handler Foundation 206
Event Notifier Foundation 206
Websocket Publisher Foundation 206
Create Team Team 206
Retrieve Teams Team 206
Is Tournament Eligible Team 214

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Workflow Apply 📖success

Terraform Validation 🤖success

Show Run

Workflow Apply


terraform
module.create_team_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=create_team_exec_role-development]
module.event_publisher_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_publisher_exec_role-development]
data.aws_acm_certificate.issued: Reading...
module.tournament_eligibility_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=tournament_eligibility_exec_role-development]
module.clash_bot_event_sqs.aws_sqs_queue.this[0]: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo]
module.event_notifier_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_notifier_exec_role-development]
module.websocket_publisher_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=websocket_publisher_exec_role-development]
module.dynamodb_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-workflow-development]
aws_cloudwatch_log_group.api_gateway_default_log_group: Refreshing state... [id=api_gateway_default_log_group-development]
aws_apigatewayv2_api.clash_bot_websocket_api: Refreshing state... [id=k10wm04op6]
module.events_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-topics-development]
module.api_gateway.aws_apigatewayv2_api.this[0]: Refreshing state... [id=r0loqlg3t3]
module.subscriber_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-subscriber-development]
module.create_team_step_function.data.aws_caller_identity.current: Reading...
module.retrieve_team_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=retrieve_team_exec_role-development]
module.create_team_step_function.data.aws_region.current[0]: Reading...
module.create_team_step_function.data.aws_region.current[0]: Read complete after 0s [id=us-east-1]
module.create_team_step_function.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.event_handler_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_handler_exec_role-development]
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Read complete after 0s [id=4239894905]
module.create_team_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-Policy-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Refreshing state... [id=tournament-eligibility-development]
module.retrieve_team_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/retrieve-team-Policy-development]
module.event_publisher_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-publisher-development]
module.tournament_eligibility_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/tournament-eligibility-Policy-development]
module.event_publisher_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-publisher-Policy-development]
module.create_team_step_function.aws_iam_role.this[0]: Refreshing state... [id=create-team-development]
module.create_team_lambda.aws_lambda_function.lambda: Refreshing state... [id=create-team-development]
aws_apigatewayv2_stage.clash_bot_websocket_api_stage: Refreshing state... [id=events-development]
module.create_team_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=create_team_exec_role-development-20231118000957795600000001]
module.retrieve_team_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=retrieve_team_exec_role-development-20231118000958206700000003]
module.retrieve_team_lambda.aws_lambda_function.lambda: Refreshing state... [id=retrieve-team-development]
module.tournament_eligibility_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=tournament_eligibility_exec_role-development-20231118000958741200000004]
data.aws_acm_certificate.issued: Read complete after 0s [id=arn:aws:acm:us-east-1:816923827429:certificate/1d277044-1781-46f9-b693-50c8ff95546a]
module.event_notifier_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-notifier-Policy-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-notifier-development]
module.event_publisher_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_publisher_exec_role-development-20231118000957978600000002]
module.api_gateway.aws_apigatewayv2_domain_name.this[0]: Refreshing state... [id=clash-bot.ninja]
aws_lambda_permission.apigw: Refreshing state... [id=AllowExecutionFromAPIGateway-development]
module.api_gateway.aws_apigatewayv2_integration.this["POST /api/v2/teams"]: Refreshing state... [id=zlvcq9c]
module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default]
module.event_notifier_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_notifier_exec_role-development-20231119090315299300000001]
module.api_gateway.aws_apigatewayv2_route.this["POST /api/v2/teams"]: Refreshing state... [id=i2to2qo]
module.websocket_publisher_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/websocket-publisher-Policy-development]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Refreshing state... [id=websocket-publisher-development]
aws_lambda_permission.clash_bot_ws_lambda_permission: Refreshing state... [id=terraform-20231119090321485100000002]
aws_apigatewayv2_integration.clash_bot_websocket_api_integration: Refreshing state... [id=dczcm2o]
module.websocket_publisher_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=websocket_publisher_exec_role-development-20231125070134113800000001]
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.service["lambda"]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Read complete after 0s [id=3233016293]
module.create_team_step_function.data.aws_iam_policy_document.service["lambda"]: Read complete after 0s [id=1009969589]
module.create_team_step_function.aws_sfn_state_machine.this[0]: Refreshing state... [id=arn:aws:states:us-east-1:816923827429:stateMachine:create-team-development]
module.create_team_step_function.aws_iam_policy.service["dynamodb"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-development-dynamodb]
module.create_team_step_function.aws_iam_policy.service["lambda"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-development-lambda]
aws_apigatewayv2_route.clash_bot_disconnection_route: Refreshing state... [id=mofj5ku]
aws_apigatewayv2_route.clash_bot_connection_route: Refreshing state... [id=w7fedob]
aws_apigatewayv2_route.clash_bot_default_route: Refreshing state... [id=abcbmf8]
module.api_gateway.aws_apigatewayv2_api_mapping.this[0]: Refreshing state... [id=gt4pmg]
module.create_team_step_function.aws_iam_policy_attachment.service["dynamodb"]: Refreshing state... [id=create-team-development-dynamodb]
module.create_team_step_function.aws_iam_policy_attachment.service["lambda"]: Refreshing state... [id=create-team-development-lambda]
aws_apigatewayv2_deployment.clash_bot_websocket_api_deployment: Refreshing state... [id=j94cin]
aws_lambda_permission.create_team_permission: Refreshing state... [id=CreateTeamPermission-development]
aws_lambda_permission.tournament_eligibility_permission: Refreshing state... [id=TournamentEligibilityPermission-development]
aws_lambda_permission.websocket_publisher_permission: Refreshing state... [id=WebSocketPublisherPermission-development]
module.event_handler_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-handler-Policy-development]
module.event_handler_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-handler-development]
module.event_handler_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_handler_exec_role-development-20231118001013189900000005]
aws_lambda_event_source_mapping.event_handler_sqs_trigger: Refreshing state... [id=7fd6c898-c397-49fa-b143-76747922a919]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.event_publisher_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "event-publisher-development"
      ~ last_modified                  = "2023-12-05T04:36:31.000+0000" -> (known after apply)
      ~ s3_key                         = "artifacts/event-publisher/development/artifact-206.zip" -> "artifacts/event-publisher/development/artifact-214.zip"
        tags                           = {}
        # (21 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # module.tournament_eligibility_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "tournament-eligibility-development"
      ~ last_modified                  = "2023-12-05T04:36:26.000+0000" -> (known after apply)
      ~ s3_key                         = "artifacts/is-tournament-eligible/development/artifact-206.zip" -> "artifacts/is-tournament-eligible/development/artifact-214.zip"
        tags                           = {}
        # (21 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # module.websocket_publisher_lambda.aws_iam_policy.policy will be updated in-place
  ~ resource "aws_iam_policy" "policy" {
        id          = "arn:aws:iam::816923827429:policy/websocket-publisher-Policy-development"
        name        = "websocket-publisher-Policy-development"
      ~ policy      = jsonencode(
          ~ {
              ~ Statement = [
                    # (1 unchanged element hidden)
                    {
                        Action   = [
                            "dynamodb:UpdateItem",
                            "dynamodb:Query",
                            "dynamodb:PutItem",
                            "dynamodb:GetItem",
                            "dynamodb:DeleteItem",
                            "dynamodb:BatchWriteItem",
                            "dynamodb:BatchGetItem",
                        ]
                        Effect   = "Allow"
                        Resource = "arn:aws:dynamodb:us-east-1:816923827429:table/clash-bot-topics-development"
                    },
                  ~ {
                      ~ Action   = [
                            "execute-api:Invoke",
                          + "execute-api:ManageConnections",
                        ]
                        # (2 unchanged attributes hidden)
                    },
                  - {
                      - Action   = [
                          - "execute-api:ManageConnections",
                        ]
                      - Effect   = "Allow"
                      - Resource = "arn:aws:execute-api:us-east-1:816923827429:k10wm04op6/events-development/POST/@connections/{connectionId}"
                    },
                ]
                # (1 unchanged attribute hidden)
            }
        )
        tags        = {}
        # (5 unchanged attributes hidden)
    }

Plan: 0 to add, 3 to change, 0 to destroy.
module.websocket_publisher_lambda.aws_iam_policy.policy: Modifying... [id=arn:aws:iam::816923827429:policy/websocket-publisher-Policy-development]
module.event_publisher_lambda.aws_lambda_function.lambda: Modifying... [id=event-publisher-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Modifying... [id=tournament-eligibility-development]
module.websocket_publisher_lambda.aws_iam_policy.policy: Modifications complete after 0s [id=arn:aws:iam::816923827429:policy/websocket-publisher-Policy-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Modifications complete after 6s [id=tournament-eligibility-development]
module.event_publisher_lambda.aws_lambda_function.lambda: Modifications complete after 6s [id=event-publisher-development]

Apply complete! Resources: 0 added, 3 changed, 0 destroyed.

Outputs:

api-gateway-endpoint = "https://r0loqlg3t3.execute-api.us-east-1.amazonaws.com"
create-team-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:create-team-development"
event-handler-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:event-handler-development"
event-publisher-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:event-publisher-development"
event-sqs = "arn:aws:sqs:us-east-1:816923827429:clash-bot-event-sqs-development.fifo"
retrieve-team-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:retrieve-team-development"
step-function-arn = "arn:aws:states:us-east-1:816923827429:stateMachine:create-team-development"
tournament-eligibility-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:tournament-eligibility-development"

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow PR Details

Lambda Function Versions used

Lambda Function Type Artifact Version
Event Publisher Foundation 214
Event Handler Foundation 206
Event Notifier Foundation 206
Websocket Publisher Foundation 215
Create Team Team 206
Retrieve Teams Team 206
Is Tournament Eligible Team 214

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Workflow Apply 📖success

Terraform Validation 🤖success

Show Run

Workflow Apply


terraform
module.create_team_step_function.data.aws_region.current[0]: Reading...
module.create_team_step_function.data.aws_caller_identity.current: Reading...
data.aws_acm_certificate.issued: Reading...
module.subscriber_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-subscriber-development]
module.create_team_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=create_team_exec_role-development]
aws_cloudwatch_log_group.api_gateway_default_log_group: Refreshing state... [id=api_gateway_default_log_group-development]
aws_apigatewayv2_api.clash_bot_websocket_api: Refreshing state... [id=k10wm04op6]
module.api_gateway.aws_apigatewayv2_api.this[0]: Refreshing state... [id=r0loqlg3t3]
module.events_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-topics-development]
module.create_team_step_function.data.aws_region.current[0]: Read complete after 0s [id=us-east-1]
module.event_handler_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_handler_exec_role-development]
module.event_notifier_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_notifier_exec_role-development]
module.create_team_step_function.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.websocket_publisher_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=websocket_publisher_exec_role-development]
module.clash_bot_event_sqs.aws_sqs_queue.this[0]: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo]
module.tournament_eligibility_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=tournament_eligibility_exec_role-development]
module.retrieve_team_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=retrieve_team_exec_role-development]
module.event_publisher_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_publisher_exec_role-development]
module.dynamodb_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-workflow-development]
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Read complete after 0s [id=4239894905]
module.create_team_step_function.aws_iam_role.this[0]: Refreshing state... [id=create-team-development]
module.event_notifier_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-notifier-Policy-development]
aws_apigatewayv2_stage.clash_bot_websocket_api_stage: Refreshing state... [id=events-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-notifier-development]
module.event_publisher_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-publisher-Policy-development]
module.create_team_lambda.aws_lambda_function.lambda: Refreshing state... [id=create-team-development]
module.retrieve_team_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/retrieve-team-Policy-development]
module.create_team_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-Policy-development]
module.tournament_eligibility_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/tournament-eligibility-Policy-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Refreshing state... [id=tournament-eligibility-development]
data.aws_acm_certificate.issued: Read complete after 1s [id=arn:aws:acm:us-east-1:816923827429:certificate/1d277044-1781-46f9-b693-50c8ff95546a]
module.event_notifier_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_notifier_exec_role-development-20231119090315299300000001]
module.retrieve_team_lambda.aws_lambda_function.lambda: Refreshing state... [id=retrieve-team-development]
module.event_publisher_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-publisher-development]
module.event_publisher_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_publisher_exec_role-development-20231118000957978600000002]
module.retrieve_team_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=retrieve_team_exec_role-development-20231118000958206700000003]
module.api_gateway.aws_apigatewayv2_domain_name.this[0]: Refreshing state... [id=clash-bot.ninja]
module.create_team_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=create_team_exec_role-development-20231118000957795600000001]
module.tournament_eligibility_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=tournament_eligibility_exec_role-development-20231118000958741200000004]
aws_lambda_permission.clash_bot_ws_lambda_permission: Refreshing state... [id=terraform-20231119090321485100000002]
aws_apigatewayv2_integration.clash_bot_websocket_api_integration: Refreshing state... [id=dczcm2o]
module.websocket_publisher_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/websocket-publisher-Policy-development]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Refreshing state... [id=websocket-publisher-development]
aws_lambda_permission.apigw: Refreshing state... [id=AllowExecutionFromAPIGateway-development]
module.api_gateway.aws_apigatewayv2_integration.this["POST /api/v2/teams"]: Refreshing state... [id=zlvcq9c]
module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default]
aws_apigatewayv2_route.clash_bot_connection_route: Refreshing state... [id=w7fedob]
aws_apigatewayv2_route.clash_bot_default_route: Refreshing state... [id=abcbmf8]
aws_apigatewayv2_route.clash_bot_disconnection_route: Refreshing state... [id=mofj5ku]
module.websocket_publisher_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=websocket_publisher_exec_role-development-20231125070134113800000001]
module.api_gateway.aws_apigatewayv2_route.this["POST /api/v2/teams"]: Refreshing state... [id=i2to2qo]
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.service["lambda"]: Reading...
module.create_team_step_function.aws_sfn_state_machine.this[0]: Refreshing state... [id=arn:aws:states:us-east-1:816923827429:stateMachine:create-team-development]
module.create_team_step_function.data.aws_iam_policy_document.service["lambda"]: Read complete after 0s [id=1009969589]
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Read complete after 0s [id=3233016293]
module.create_team_step_function.aws_iam_policy.service["dynamodb"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-development-dynamodb]
module.create_team_step_function.aws_iam_policy.service["lambda"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-development-lambda]
aws_apigatewayv2_deployment.clash_bot_websocket_api_deployment: Refreshing state... [id=j94cin]
module.create_team_step_function.aws_iam_policy_attachment.service["dynamodb"]: Refreshing state... [id=create-team-development-dynamodb]
module.create_team_step_function.aws_iam_policy_attachment.service["lambda"]: Refreshing state... [id=create-team-development-lambda]
module.api_gateway.aws_apigatewayv2_api_mapping.this[0]: Refreshing state... [id=gt4pmg]
aws_lambda_permission.websocket_publisher_permission: Refreshing state... [id=WebSocketPublisherPermission-development]
aws_lambda_permission.create_team_permission: Refreshing state... [id=CreateTeamPermission-development]
aws_lambda_permission.tournament_eligibility_permission: Refreshing state... [id=TournamentEligibilityPermission-development]
module.event_handler_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-handler-Policy-development]
module.event_handler_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-handler-development]
module.event_handler_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_handler_exec_role-development-20231118001013189900000005]
aws_lambda_event_source_mapping.event_handler_sqs_trigger: Refreshing state... [id=7fd6c898-c397-49fa-b143-76747922a919]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.websocket_publisher_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "websocket-publisher-development"
      ~ last_modified                  = "2023-12-05T06:54:39.000+0000" -> (known after apply)
      ~ s3_key                         = "artifacts/websocket-publisher/development/artifact-206.zip" -> "artifacts/websocket-publisher/development/artifact-215.zip"
        tags                           = {}
        # (21 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.
module.websocket_publisher_lambda.aws_lambda_function.lambda: Modifying... [id=websocket-publisher-development]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Modifications complete after 6s [id=websocket-publisher-development]

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.

Outputs:

api-gateway-endpoint = "https://r0loqlg3t3.execute-api.us-east-1.amazonaws.com"
create-team-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:create-team-development"
event-handler-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:event-handler-development"
event-publisher-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:event-publisher-development"
event-sqs = "arn:aws:sqs:us-east-1:816923827429:clash-bot-event-sqs-development.fifo"
retrieve-team-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:retrieve-team-development"
step-function-arn = "arn:aws:states:us-east-1:816923827429:stateMachine:create-team-development"
tournament-eligibility-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:tournament-eligibility-development"

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
module.lambda_bucket.data.aws_region.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow PR Details

Lambda Function Versions used

Lambda Function Type Artifact Version
Event Publisher Foundation 216
Event Handler Foundation 216
Event Notifier Foundation 216
Websocket Publisher Foundation 216
Create Team Team 216
Retrieve Teams Team 216
Is Tournament Eligible Team 216

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Workflow Apply 📖success

Terraform Validation 🤖success

Show Run

Workflow Apply


terraform
module.websocket_publisher_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=websocket_publisher_exec_role-development]
aws_cloudwatch_log_group.api_gateway_default_log_group: Refreshing state... [id=api_gateway_default_log_group-development]
module.create_team_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=create_team_exec_role-development]
module.create_team_step_function.data.aws_region.current[0]: Reading...
module.retrieve_team_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=retrieve_team_exec_role-development]
module.event_handler_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_handler_exec_role-development]
data.aws_acm_certificate.issued: Reading...
module.dynamodb_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-workflow-development]
aws_apigatewayv2_api.clash_bot_websocket_api: Refreshing state... [id=k10wm04op6]
module.events_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-topics-development]
module.create_team_step_function.data.aws_region.current[0]: Read complete after 0s [id=us-east-1]
module.subscriber_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-subscriber-development]
module.clash_bot_event_sqs.aws_sqs_queue.this[0]: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo]
module.api_gateway.aws_apigatewayv2_api.this[0]: Refreshing state... [id=r0loqlg3t3]
module.event_publisher_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_publisher_exec_role-development]
module.tournament_eligibility_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=tournament_eligibility_exec_role-development]
module.create_team_step_function.data.aws_caller_identity.current: Reading...
module.event_notifier_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_notifier_exec_role-development]
aws_apigatewayv2_stage.clash_bot_websocket_api_stage: Refreshing state... [id=events-development]
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Read complete after 0s [id=4239894905]
module.create_team_step_function.aws_iam_role.this[0]: Refreshing state... [id=create-team-development]
module.event_notifier_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-notifier-Policy-development]
module.create_team_step_function.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.retrieve_team_lambda.aws_lambda_function.lambda: Refreshing state... [id=retrieve-team-development]
module.create_team_lambda.aws_lambda_function.lambda: Refreshing state... [id=create-team-development]
data.aws_acm_certificate.issued: Read complete after 1s [id=arn:aws:acm:us-east-1:816923827429:certificate/1d277044-1781-46f9-b693-50c8ff95546a]
module.retrieve_team_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/retrieve-team-Policy-development]
module.create_team_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-Policy-development]
module.tournament_eligibility_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/tournament-eligibility-Policy-development]
module.api_gateway.aws_apigatewayv2_domain_name.this[0]: Refreshing state... [id=clash-bot.ninja]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Refreshing state... [id=tournament-eligibility-development]
module.event_publisher_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-publisher-development]
module.create_team_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=create_team_exec_role-development-20231118000957795600000001]
module.event_publisher_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-publisher-Policy-development]
module.retrieve_team_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=retrieve_team_exec_role-development-20231118000958206700000003]
module.websocket_publisher_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/websocket-publisher-Policy-development]
module.event_notifier_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_notifier_exec_role-development-20231119090315299300000001]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Refreshing state... [id=websocket-publisher-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-notifier-development]
module.tournament_eligibility_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=tournament_eligibility_exec_role-development-20231118000958741200000004]
module.event_publisher_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_publisher_exec_role-development-20231118000957978600000002]
module.websocket_publisher_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=websocket_publisher_exec_role-development-20231125070134113800000001]
aws_lambda_permission.apigw: Refreshing state... [id=AllowExecutionFromAPIGateway-development]
module.api_gateway.aws_apigatewayv2_integration.this["POST /api/v2/teams"]: Refreshing state... [id=zlvcq9c]
module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default]
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.service["lambda"]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Read complete after 0s [id=3233016293]
module.create_team_step_function.data.aws_iam_policy_document.service["lambda"]: Read complete after 0s [id=1009969589]
module.create_team_step_function.aws_sfn_state_machine.this[0]: Refreshing state... [id=arn:aws:states:us-east-1:816923827429:stateMachine:create-team-development]
module.create_team_step_function.aws_iam_policy.service["lambda"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-development-lambda]
module.create_team_step_function.aws_iam_policy.service["dynamodb"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-development-dynamodb]
aws_lambda_permission.clash_bot_ws_lambda_permission: Refreshing state... [id=terraform-20231119090321485100000002]
aws_apigatewayv2_integration.clash_bot_websocket_api_integration: Refreshing state... [id=dczcm2o]
module.api_gateway.aws_apigatewayv2_route.this["POST /api/v2/teams"]: Refreshing state... [id=i2to2qo]
aws_apigatewayv2_route.clash_bot_default_route: Refreshing state... [id=abcbmf8]
aws_apigatewayv2_route.clash_bot_disconnection_route: Refreshing state... [id=mofj5ku]
aws_apigatewayv2_route.clash_bot_connection_route: Refreshing state... [id=w7fedob]
module.create_team_step_function.aws_iam_policy_attachment.service["lambda"]: Refreshing state... [id=create-team-development-lambda]
module.create_team_step_function.aws_iam_policy_attachment.service["dynamodb"]: Refreshing state... [id=create-team-development-dynamodb]
module.api_gateway.aws_apigatewayv2_api_mapping.this[0]: Refreshing state... [id=gt4pmg]
aws_apigatewayv2_deployment.clash_bot_websocket_api_deployment: Refreshing state... [id=j94cin]
aws_lambda_permission.create_team_permission: Refreshing state... [id=CreateTeamPermission-development]
aws_lambda_permission.tournament_eligibility_permission: Refreshing state... [id=TournamentEligibilityPermission-development]
aws_lambda_permission.websocket_publisher_permission: Refreshing state... [id=WebSocketPublisherPermission-development]
module.event_handler_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-handler-Policy-development]
module.event_handler_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-handler-development]
module.event_handler_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_handler_exec_role-development-20231118001013189900000005]
aws_lambda_event_source_mapping.event_handler_sqs_trigger: Refreshing state... [id=7fd6c898-c397-49fa-b143-76747922a919]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.create_team_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "create-team-development"
      ~ last_modified                  = "2023-12-05T04:36:26.000+0000" -> (known after apply)
      ~ s3_key                         = "artifacts/create-team/development/artifact-206.zip" -> "artifacts/create-team/development/artifact-216.zip"
        tags                           = {}
        # (21 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # module.dynamodb_table.aws_dynamodb_table.this[0] will be updated in-place
  ~ resource "aws_dynamodb_table" "this" {
      ~ billing_mode                = "PROVISIONED" -> "PAY_PER_REQUEST"
        id                          = "clash-bot-workflow-development"
        name                        = "clash-bot-workflow-development"
        tags                        = {
            "Name" = "clash-bot-workflow-development"
        }
        # (9 unchanged attributes hidden)

        # (5 unchanged blocks hidden)
    }

  # module.event_handler_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "event-handler-development"
      ~ last_modified                  = "2023-12-05T04:36:33.000+0000" -> (known after apply)
      ~ s3_key                         = "artifacts/event-handler/development/artifact-206.zip" -> "artifacts/event-handler/development/artifact-216.zip"
        tags                           = {}
        # (21 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # module.event_notifier_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "event-notifier-development"
      ~ last_modified                  = "2023-12-05T04:36:26.000+0000" -> (known after apply)
      ~ s3_key                         = "artifacts/event-notifier/development/artifact-206.zip" -> "artifacts/event-notifier/development/artifact-216.zip"
        tags                           = {}
        # (21 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # module.event_publisher_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "event-publisher-development"
      ~ last_modified                  = "2023-12-08T05:11:59.000+0000" -> (known after apply)
      ~ s3_key                         = "artifacts/event-publisher/development/artifact-214.zip" -> "artifacts/event-publisher/development/artifact-216.zip"
        tags                           = {}
        # (21 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # module.events_table.aws_dynamodb_table.this[0] will be updated in-place
  ~ resource "aws_dynamodb_table" "this" {
      ~ billing_mode                = "PROVISIONED" -> "PAY_PER_REQUEST"
        id                          = "clash-bot-topics-development"
        name                        = "clash-bot-topics-development"
        tags                        = {
            "Name" = "clash-bot-topics-development"
        }
        # (8 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.retrieve_team_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "retrieve-team-development"
      ~ last_modified                  = "2023-12-05T04:36:26.000+0000" -> (known after apply)
      ~ s3_key                         = "artifacts/retrieve-teams/development/artifact-206.zip" -> "artifacts/retrieve-teams/development/artifact-216.zip"
        tags                           = {}
        # (21 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # module.subscriber_table.aws_dynamodb_table.this[0] will be updated in-place
  ~ resource "aws_dynamodb_table" "this" {
      ~ billing_mode                = "PROVISIONED" -> "PAY_PER_REQUEST"
        id                          = "clash-bot-subscriber-development"
        name                        = "clash-bot-subscriber-development"
        tags                        = {
            "Name" = "clash-bot-subscriber-development"
        }
        # (8 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.tournament_eligibility_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "tournament-eligibility-development"
      ~ last_modified                  = "2023-12-08T05:11:59.000+0000" -> (known after apply)
      ~ s3_key                         = "artifacts/is-tournament-eligible/development/artifact-214.zip" -> "artifacts/is-tournament-eligible/development/artifact-216.zip"
        tags                           = {}
        # (21 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

  # module.websocket_publisher_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "websocket-publisher-development"
      ~ last_modified                  = "2023-12-11T04:51:12.000+0000" -> (known after apply)
      ~ s3_key                         = "artifacts/websocket-publisher/development/artifact-215.zip" -> "artifacts/websocket-publisher/development/artifact-216.zip"
        tags                           = {}
        # (21 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

Plan: 0 to add, 10 to change, 0 to destroy.
module.events_table.aws_dynamodb_table.this[0]: Modifying... [id=clash-bot-topics-development]
module.subscriber_table.aws_dynamodb_table.this[0]: Modifying... [id=clash-bot-subscriber-development]
module.event_publisher_lambda.aws_lambda_function.lambda: Modifying... [id=event-publisher-development]
module.dynamodb_table.aws_dynamodb_table.this[0]: Modifying... [id=clash-bot-workflow-development]
module.event_publisher_lambda.aws_lambda_function.lambda: Modifications complete after 7s [id=event-publisher-development]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 11s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 10s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 21s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 21s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 20s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 30s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 31s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 41s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 41s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 40s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 50s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 51s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 51s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 1m1s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 1m1s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 1m0s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 1m11s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 1m11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 1m10s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 1m21s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 1m20s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 1m21s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 1m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 1m30s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 1m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 1m40s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 1m41s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 1m41s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 1m51s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 1m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 1m50s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 2m1s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 2m1s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 2m0s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 2m11s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 2m11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 2m10s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 2m20s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 2m21s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 2m21s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 2m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 2m30s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 2m31s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 2m41s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 2m40s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 2m41s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 2m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 2m50s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 2m51s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 3m1s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 3m0s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 3m1s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 3m10s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 3m11s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 3m11s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 3m21s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 3m20s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 3m21s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 3m30s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 3m31s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 3m31s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 3m41s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 3m40s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 3m41s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 3m51s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 3m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 3m50s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 4m0s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 4m1s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 4m1s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 4m11s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 4m11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 4m10s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 4m21s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 4m20s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 4m21s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 4m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 4m30s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 4m31s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 4m41s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 4m40s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 4m41s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 4m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 4m50s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 4m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 5m0s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 5m1s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 5m1s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 5m11s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 5m11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 5m10s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 5m20s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 5m21s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 5m21s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 5m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 5m30s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 5m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 5m40s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 5m41s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 5m41s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 5m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 5m50s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 5m51s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 6m1s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 6m1s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 6m0s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 6m11s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 6m11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 6m10s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 6m21s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 6m21s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 6m20s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 6m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 6m30s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 6m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 6m40s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 6m41s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 6m41s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 6m51s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 6m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 6m50s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 7m1s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 7m0s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 7m1s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 7m10s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 7m11s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 7m11s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 7m21s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 7m20s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 7m21s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 7m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 7m30s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 7m31s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 7m41s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 7m40s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 7m41s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 7m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 7m50s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 7m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 8m0s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 8m1s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 8m1s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 8m11s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 8m11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 8m10s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 8m21s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 8m20s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 8m21s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 8m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 8m30s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 8m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 8m40s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 8m41s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 8m41s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 8m51s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 8m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 8m50s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 9m0s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 9m1s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 9m1s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 9m11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 9m10s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 9m11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 9m20s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 9m21s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 9m21s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 9m31s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 9m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 9m30s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 9m41s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 9m40s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 9m41s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 9m51s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 9m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 9m50s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 10m1s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 10m0s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 10m1s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 10m11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 10m10s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 10m11s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 10m21s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 10m20s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 10m21s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 10m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 10m30s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 10m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 10m40s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 10m41s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 10m41s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 10m51s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 10m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 10m50s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 11m0s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 11m1s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 11m1s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 11m11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 11m10s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 11m11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 11m20s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 11m21s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 11m21s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 11m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 11m30s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 11m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 11m40s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 11m41s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 11m41s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 11m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 11m50s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 11m51s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 12m1s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 12m1s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 12m0s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 12m11s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 12m10s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 12m11s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 12m21s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 12m20s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 12m21s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 12m31s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 12m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 12m30s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 12m40s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 12m41s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 12m41s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 12m51s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 12m51s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 12m50s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 13m1s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 13m0s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 13m1s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 13m10s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 13m11s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 13m11s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 13m21s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-topics-development, 13m21s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 13m20s elapsed]
module.events_table.aws_dynamodb_table.this[0]: Modifications complete after 13m31s [id=clash-bot-topics-development]
module.subscriber_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-subscriber-development, 13m31s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 13m30s elapsed]
module.subscriber_table.aws_dynamodb_table.this[0]: Modifications complete after 13m32s [id=clash-bot-subscriber-development]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Modifying... [id=websocket-publisher-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Modifying... [id=event-notifier-development]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Modifications complete after 7s [id=websocket-publisher-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Modifications complete after 7s [id=event-notifier-development]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 13m40s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 13m50s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 14m0s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 14m10s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 14m20s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 14m30s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 14m40s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 14m50s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 15m0s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 15m10s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 15m20s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 15m30s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 15m40s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 15m50s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 16m0s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 16m10s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 16m20s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 16m30s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 16m40s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 16m50s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 17m0s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 17m10s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 17m20s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 17m30s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 17m40s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 17m50s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 18m0s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 18m10s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 18m20s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 18m30s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 18m40s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 18m50s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 19m0s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 19m10s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 19m20s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 19m30s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 19m40s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 19m50s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 20m0s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 20m10s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 20m20s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 20m30s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 20m40s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 20m50s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 21m0s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 21m10s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Still modifying... [id=clash-bot-workflow-development, 21m20s elapsed]
module.dynamodb_table.aws_dynamodb_table.this[0]: Modifications complete after 21m23s [id=clash-bot-workflow-development]
module.create_team_lambda.aws_lambda_function.lambda: Modifying... [id=create-team-development]
module.retrieve_team_lambda.aws_lambda_function.lambda: Modifying... [id=retrieve-team-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Modifying... [id=tournament-eligibility-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Modifications complete after 7s [id=tournament-eligibility-development]
module.retrieve_team_lambda.aws_lambda_function.lambda: Modifications complete after 7s [id=retrieve-team-development]
module.create_team_lambda.aws_lambda_function.lambda: Modifications complete after 7s [id=create-team-development]
module.event_handler_lambda.aws_lambda_function.lambda: Modifying... [id=event-handler-development]
module.event_handler_lambda.aws_lambda_function.lambda: Modifications complete after 6s [id=event-handler-development]

Apply complete! Resources: 0 added, 10 changed, 0 destroyed.

Outputs:

api-gateway-endpoint = "https://r0loqlg3t3.execute-api.us-east-1.amazonaws.com"
create-team-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:create-team-development"
event-handler-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:event-handler-development"
event-publisher-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:event-publisher-development"
event-sqs = "arn:aws:sqs:us-east-1:816923827429:clash-bot-event-sqs-development.fifo"
retrieve-team-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:retrieve-team-development"
step-function-arn = "arn:aws:states:us-east-1:816923827429:stateMachine:create-team-development"
tournament-eligibility-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:tournament-eligibility-development"

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
aws_lambda_layer_version.lambda_layer: Refreshing state... [id=arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
aws_lambda_layer_version.lambda_layer: Refreshing state... [id=arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
aws_lambda_layer_version.lambda_layer: Refreshing state... [id=arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 1s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 1s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
aws_lambda_layer_version.lambda_layer: Refreshing state... [id=arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
module.lambda_bucket.data.aws_caller_identity.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
aws_lambda_layer_version.lambda_layer: Refreshing state... [id=arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 1s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
aws_lambda_layer_version.lambda_layer: Refreshing state... [id=arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
aws_lambda_layer_version.lambda_layer: Refreshing state... [id=arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
aws_lambda_layer_version.lambda_layer: Refreshing state... [id=arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow PR Details

Lambda Function Versions used

Lambda Function Type Artifact Version
Event Publisher Foundation 217
Event Handler Foundation 217
Event Notifier Foundation 217
Websocket Publisher Foundation 217
Create Team Team 217
Retrieve Teams Team 217
Is Tournament Eligible Team 217

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Workflow Apply 📖success

Terraform Validation 🤖success

Show Run

Workflow Apply


terraform
module.event_publisher_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_publisher_exec_role-development]
module.event_handler_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_handler_exec_role-development]
module.events_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-topics-development]
module.create_team_step_function.data.aws_caller_identity.current: Reading...
module.api_gateway.aws_apigatewayv2_api.this[0]: Refreshing state... [id=r0loqlg3t3]
module.retrieve_team_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=retrieve_team_exec_role-development]
data.aws_lambda_layer_version.lambda_layer: Reading...
aws_cloudwatch_log_group.api_gateway_default_log_group: Refreshing state... [id=api_gateway_default_log_group-development]
module.event_notifier_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_notifier_exec_role-development]
module.dynamodb_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-workflow-development]
module.create_team_step_function.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.websocket_publisher_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=websocket_publisher_exec_role-development]
data.aws_lambda_layer_version.lambda_layer: Read complete after 1s [id=arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1]
data.aws_acm_certificate.issued: Reading...
module.tournament_eligibility_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=tournament_eligibility_exec_role-development]
aws_apigatewayv2_api.clash_bot_websocket_api: Refreshing state... [id=k10wm04op6]
module.subscriber_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-subscriber-development]
module.create_team_step_function.data.aws_region.current[0]: Reading...
module.create_team_step_function.data.aws_region.current[0]: Read complete after 0s [id=us-east-1]
module.create_team_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=create_team_exec_role-development]
module.clash_bot_event_sqs.aws_sqs_queue.this[0]: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo]
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Read complete after 0s [id=4239894905]
module.create_team_step_function.aws_iam_role.this[0]: Refreshing state... [id=create-team-development]
module.tournament_eligibility_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/tournament-eligibility-Policy-development]
module.create_team_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-Policy-development]
module.retrieve_team_lambda.aws_lambda_function.lambda: Refreshing state... [id=retrieve-team-development]
module.retrieve_team_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/retrieve-team-Policy-development]
aws_apigatewayv2_stage.clash_bot_websocket_api_stage: Refreshing state... [id=events-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Refreshing state... [id=tournament-eligibility-development]
module.event_notifier_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-notifier-Policy-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-notifier-development]
module.tournament_eligibility_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=tournament_eligibility_exec_role-development-20231118000958741200000004]
module.create_team_lambda.aws_lambda_function.lambda: Refreshing state... [id=create-team-development]
module.create_team_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=create_team_exec_role-development-20231118000957795600000001]
module.retrieve_team_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=retrieve_team_exec_role-development-20231118000958206700000003]
module.event_notifier_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_notifier_exec_role-development-20231119090315299300000001]
module.event_publisher_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-publisher-Policy-development]
module.event_publisher_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-publisher-development]
data.aws_acm_certificate.issued: Read complete after 0s [id=arn:aws:acm:us-east-1:816923827429:certificate/1d277044-1781-46f9-b693-50c8ff95546a]
module.api_gateway.aws_apigatewayv2_domain_name.this[0]: Refreshing state... [id=clash-bot.ninja]
aws_lambda_permission.clash_bot_ws_lambda_permission: Refreshing state... [id=terraform-20231119090321485100000002]
aws_apigatewayv2_integration.clash_bot_websocket_api_integration: Refreshing state... [id=dczcm2o]
module.websocket_publisher_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/websocket-publisher-Policy-development]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Refreshing state... [id=websocket-publisher-development]
module.event_publisher_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_publisher_exec_role-development-20231118000957978600000002]
aws_apigatewayv2_route.clash_bot_connection_route: Refreshing state... [id=w7fedob]
aws_apigatewayv2_route.clash_bot_disconnection_route: Refreshing state... [id=mofj5ku]
aws_apigatewayv2_route.clash_bot_default_route: Refreshing state... [id=abcbmf8]
aws_lambda_permission.apigw: Refreshing state... [id=AllowExecutionFromAPIGateway-development]
module.api_gateway.aws_apigatewayv2_integration.this["POST /api/v2/teams"]: Refreshing state... [id=zlvcq9c]
module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default]
module.websocket_publisher_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=websocket_publisher_exec_role-development-20231125070134113800000001]
aws_apigatewayv2_deployment.clash_bot_websocket_api_deployment: Refreshing state... [id=j94cin]
module.api_gateway.aws_apigatewayv2_route.this["POST /api/v2/teams"]: Refreshing state... [id=i2to2qo]
module.create_team_step_function.data.aws_iam_policy_document.service["lambda"]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.service["lambda"]: Read complete after 0s [id=1009969589]
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Read complete after 0s [id=3233016293]
module.create_team_step_function.aws_sfn_state_machine.this[0]: Refreshing state... [id=arn:aws:states:us-east-1:816923827429:stateMachine:create-team-development]
module.create_team_step_function.aws_iam_policy.service["lambda"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-development-lambda]
module.create_team_step_function.aws_iam_policy.service["dynamodb"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-development-dynamodb]
module.api_gateway.aws_apigatewayv2_api_mapping.this[0]: Refreshing state... [id=gt4pmg]
module.create_team_step_function.aws_iam_policy_attachment.service["dynamodb"]: Refreshing state... [id=create-team-development-dynamodb]
module.create_team_step_function.aws_iam_policy_attachment.service["lambda"]: Refreshing state... [id=create-team-development-lambda]
aws_lambda_permission.websocket_publisher_permission: Refreshing state... [id=WebSocketPublisherPermission-development]
aws_lambda_permission.create_team_permission: Refreshing state... [id=CreateTeamPermission-development]
aws_lambda_permission.tournament_eligibility_permission: Refreshing state... [id=TournamentEligibilityPermission-development]
module.event_handler_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-handler-Policy-development]
module.event_handler_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-handler-development]
module.event_handler_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_handler_exec_role-development-20231118001013189900000005]
aws_lambda_event_source_mapping.event_handler_sqs_trigger: Refreshing state... [id=7fd6c898-c397-49fa-b143-76747922a919]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.create_team_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "create-team-development"
      ~ last_modified                  = "2023-12-20T23:26:08.000+0000" -> (known after apply)
      ~ layers                         = [
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
        ]
      ~ s3_key                         = "artifacts/create-team/development/artifact-216.zip" -> "artifacts/create-team/development/artifact-217.zip"
        tags                           = {}
        # (20 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.event_handler_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "event-handler-development"
      ~ last_modified                  = "2023-12-20T23:26:14.000+0000" -> (known after apply)
      ~ layers                         = [
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
        ]
      ~ s3_key                         = "artifacts/event-handler/development/artifact-216.zip" -> "artifacts/event-handler/development/artifact-217.zip"
        tags                           = {}
        # (20 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.event_notifier_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "event-notifier-development"
      ~ last_modified                  = "2023-12-20T23:18:14.000+0000" -> (known after apply)
      ~ layers                         = [
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
        ]
      ~ s3_key                         = "artifacts/event-notifier/development/artifact-216.zip" -> "artifacts/event-notifier/development/artifact-217.zip"
        tags                           = {}
        # (20 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.event_publisher_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "event-publisher-development"
      ~ last_modified                  = "2023-12-20T23:04:43.000+0000" -> (known after apply)
      ~ layers                         = [
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
        ]
      ~ s3_key                         = "artifacts/event-publisher/development/artifact-216.zip" -> "artifacts/event-publisher/development/artifact-217.zip"
        tags                           = {}
        # (20 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.retrieve_team_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "retrieve-team-development"
      ~ last_modified                  = "2023-12-20T23:26:08.000+0000" -> (known after apply)
      ~ layers                         = [
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
        ]
      ~ s3_key                         = "artifacts/retrieve-teams/development/artifact-216.zip" -> "artifacts/retrieve-teams/development/artifact-217.zip"
        tags                           = {}
        # (20 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.tournament_eligibility_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "tournament-eligibility-development"
      ~ last_modified                  = "2023-12-20T23:26:08.000+0000" -> (known after apply)
      ~ layers                         = [
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
        ]
      ~ s3_key                         = "artifacts/is-tournament-eligible/development/artifact-216.zip" -> "artifacts/is-tournament-eligible/development/artifact-217.zip"
        tags                           = {}
        # (20 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.websocket_publisher_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "websocket-publisher-development"
      ~ last_modified                  = "2023-12-20T23:18:14.000+0000" -> (known after apply)
      ~ layers                         = [
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
        ]
      ~ s3_key                         = "artifacts/websocket-publisher/development/artifact-216.zip" -> "artifacts/websocket-publisher/development/artifact-217.zip"
        tags                           = {}
        # (20 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

Plan: 0 to add, 7 to change, 0 to destroy.
module.retrieve_team_lambda.aws_lambda_function.lambda: Modifying... [id=retrieve-team-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Modifying... [id=tournament-eligibility-development]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Modifying... [id=websocket-publisher-development]
module.create_team_lambda.aws_lambda_function.lambda: Modifying... [id=create-team-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Modifying... [id=event-notifier-development]
module.event_publisher_lambda.aws_lambda_function.lambda: Modifying... [id=event-publisher-development]
module.retrieve_team_lambda.aws_lambda_function.lambda: Still modifying... [id=retrieve-team-development, 10s elapsed]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Still modifying... [id=websocket-publisher-development, 10s elapsed]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Still modifying... [id=tournament-eligibility-development, 10s elapsed]
module.event_notifier_lambda.aws_lambda_function.lambda: Still modifying... [id=event-notifier-development, 10s elapsed]
module.create_team_lambda.aws_lambda_function.lambda: Still modifying... [id=create-team-development, 10s elapsed]
module.event_publisher_lambda.aws_lambda_function.lambda: Still modifying... [id=event-publisher-development, 10s elapsed]
module.retrieve_team_lambda.aws_lambda_function.lambda: Still modifying... [id=retrieve-team-development, 20s elapsed]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Still modifying... [id=websocket-publisher-development, 20s elapsed]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Still modifying... [id=tournament-eligibility-development, 20s elapsed]
module.create_team_lambda.aws_lambda_function.lambda: Still modifying... [id=create-team-development, 20s elapsed]
module.event_notifier_lambda.aws_lambda_function.lambda: Still modifying... [id=event-notifier-development, 20s elapsed]
module.event_publisher_lambda.aws_lambda_function.lambda: Still modifying... [id=event-publisher-development, 20s elapsed]
module.event_publisher_lambda.aws_lambda_function.lambda: Modifications complete after 27s [id=event-publisher-development]
module.create_team_lambda.aws_lambda_function.lambda: Modifications complete after 27s [id=create-team-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Modifications complete after 29s [id=tournament-eligibility-development]
module.retrieve_team_lambda.aws_lambda_function.lambda: Modifications complete after 30s [id=retrieve-team-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Modifications complete after 30s [id=event-notifier-development]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Modifications complete after 30s [id=websocket-publisher-development]
module.event_handler_lambda.aws_lambda_function.lambda: Modifying... [id=event-handler-development]
module.event_handler_lambda.aws_lambda_function.lambda: Still modifying... [id=event-handler-development, 10s elapsed]
module.event_handler_lambda.aws_lambda_function.lambda: Still modifying... [id=event-handler-development, 20s elapsed]
module.event_handler_lambda.aws_lambda_function.lambda: Modifications complete after 28s [id=event-handler-development]

Apply complete! Resources: 0 added, 7 changed, 0 destroyed.

Outputs:

api-gateway-endpoint = "https://r0loqlg3t3.execute-api.us-east-1.amazonaws.com"
create-team-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:create-team-development"
event-handler-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:event-handler-development"
event-publisher-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:event-publisher-development"
event-sqs = "arn:aws:sqs:us-east-1:816923827429:clash-bot-event-sqs-development.fifo"
retrieve-team-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:retrieve-team-development"
step-function-arn = "arn:aws:states:us-east-1:816923827429:stateMachine:create-team-development"
tournament-eligibility-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:tournament-eligibility-development"

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow Prerequisites - Apply

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Prerequisite Apply 📖success

Terraform Validation 🤖success

Show Apply

Prerequisites


terraform
data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Reading...
module.lambda_bucket.data.aws_partition.current: Reading...
module.lambda_bucket.data.aws_caller_identity.current: Reading...
module.lambda_bucket.data.aws_region.current: Reading...
module.lambda_bucket.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lambda_bucket.data.aws_partition.current: Read complete after 0s [id=aws]
module.lambda_bucket.aws_s3_bucket.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.lambda_bucket.data.aws_canonical_user_id.this[0]: Read complete after 0s [id=0948928f0870858bf04a47374e9461e99c48fdaccd7bdc61bb4f3f2515ee6cfc]
module.lambda_bucket.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
module.lambda_bucket.aws_s3_bucket_ownership_controls.this[0]: Refreshing state... [id=clash-bot-lambda-bucket]
aws_lambda_layer_version.lambda_layer: Refreshing state... [id=arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:2]
module.lambda_bucket.aws_s3_bucket_acl.this[0]: Refreshing state... [id=clash-bot-lambda-bucket,private]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

s3_bucket_name = "clash-bot-lambda-bucket"
s3_bucket_policy = ""

Pushed by: @Poss111, Action: pull_request

@github-actions
Copy link
Copy Markdown

Clash Bot Workflow PR Details

Lambda Function Versions used

Lambda Function Type Artifact Version
Event Publisher Foundation 217
Event Handler Foundation 217
Event Notifier Foundation 217
Websocket Publisher Foundation 217
Create Team Team 217
Retrieve Teams Team 217
Is Tournament Eligible Team 217

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Workflow Apply 📖success

Terraform Validation 🤖success

Show Run

Workflow Apply


terraform
aws_cloudwatch_log_group.api_gateway_default_log_group: Refreshing state... [id=api_gateway_default_log_group-development]
module.clash_bot_event_sqs.aws_sqs_queue.this[0]: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/816923827429/clash-bot-event-sqs-development.fifo]
module.websocket_publisher_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=websocket_publisher_exec_role-development]
module.create_team_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=create_team_exec_role-development]
module.event_notifier_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_notifier_exec_role-development]
module.subscriber_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-subscriber-development]
module.events_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-topics-development]
module.event_handler_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_handler_exec_role-development]
module.retrieve_team_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=retrieve_team_exec_role-development]
module.tournament_eligibility_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=tournament_eligibility_exec_role-development]
module.dynamodb_table.aws_dynamodb_table.this[0]: Refreshing state... [id=clash-bot-workflow-development]
module.event_publisher_lambda.aws_iam_role.lambda_exec_role: Refreshing state... [id=event_publisher_exec_role-development]
aws_apigatewayv2_api.clash_bot_websocket_api: Refreshing state... [id=k10wm04op6]
module.create_team_step_function.data.aws_region.current[0]: Reading...
module.create_team_step_function.data.aws_region.current[0]: Read complete after 0s [id=us-east-1]
module.create_team_step_function.data.aws_caller_identity.current: Reading...
data.aws_acm_certificate.issued: Reading...
module.api_gateway.aws_apigatewayv2_api.this[0]: Refreshing state... [id=r0loqlg3t3]
data.aws_lambda_layer_version.lambda_layer: Reading...
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.assume_role[0]: Read complete after 0s [id=4239894905]
module.event_publisher_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-publisher-Policy-development]
module.create_team_step_function.aws_iam_role.this[0]: Refreshing state... [id=create-team-development]
module.create_team_step_function.data.aws_caller_identity.current: Read complete after 0s [id=816923827429]
module.event_notifier_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-notifier-Policy-development]
module.tournament_eligibility_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/tournament-eligibility-Policy-development]
module.create_team_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-Policy-development]
module.retrieve_team_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/retrieve-team-Policy-development]
module.event_publisher_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_publisher_exec_role-development-20231118000957978600000002]
module.event_notifier_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_notifier_exec_role-development-20231119090315299300000001]
aws_apigatewayv2_stage.clash_bot_websocket_api_stage: Refreshing state... [id=events-development]
data.aws_lambda_layer_version.lambda_layer: Read complete after 0s [id=arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:2]
module.create_team_lambda.aws_lambda_function.lambda: Refreshing state... [id=create-team-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-notifier-development]
module.retrieve_team_lambda.aws_lambda_function.lambda: Refreshing state... [id=retrieve-team-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Refreshing state... [id=tournament-eligibility-development]
module.event_publisher_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-publisher-development]
module.create_team_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=create_team_exec_role-development-20231118000957795600000001]
module.retrieve_team_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=retrieve_team_exec_role-development-20231118000958206700000003]
module.tournament_eligibility_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=tournament_eligibility_exec_role-development-20231118000958741200000004]
data.aws_acm_certificate.issued: Read complete after 0s [id=arn:aws:acm:us-east-1:816923827429:certificate/1d277044-1781-46f9-b693-50c8ff95546a]
module.api_gateway.aws_apigatewayv2_domain_name.this[0]: Refreshing state... [id=clash-bot.ninja]
module.websocket_publisher_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/websocket-publisher-Policy-development]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Refreshing state... [id=websocket-publisher-development]
aws_lambda_permission.apigw: Refreshing state... [id=AllowExecutionFromAPIGateway-development]
module.api_gateway.aws_apigatewayv2_integration.this["POST /api/v2/teams"]: Refreshing state... [id=zlvcq9c]
module.api_gateway.aws_apigatewayv2_stage.default[0]: Refreshing state... [id=$default]
aws_lambda_permission.clash_bot_ws_lambda_permission: Refreshing state... [id=terraform-20231119090321485100000002]
aws_apigatewayv2_integration.clash_bot_websocket_api_integration: Refreshing state... [id=dczcm2o]
module.websocket_publisher_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=websocket_publisher_exec_role-development-20231125070134113800000001]
module.create_team_step_function.data.aws_iam_policy_document.service["lambda"]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Reading...
module.create_team_step_function.data.aws_iam_policy_document.service["lambda"]: Read complete after 0s [id=1009969589]
module.create_team_step_function.data.aws_iam_policy_document.service["dynamodb"]: Read complete after 0s [id=3233016293]
module.create_team_step_function.aws_sfn_state_machine.this[0]: Refreshing state... [id=arn:aws:states:us-east-1:816923827429:stateMachine:create-team-development]
module.create_team_step_function.aws_iam_policy.service["dynamodb"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-development-dynamodb]
module.create_team_step_function.aws_iam_policy.service["lambda"]: Refreshing state... [id=arn:aws:iam::816923827429:policy/create-team-development-lambda]
aws_apigatewayv2_route.clash_bot_default_route: Refreshing state... [id=abcbmf8]
aws_apigatewayv2_route.clash_bot_disconnection_route: Refreshing state... [id=mofj5ku]
aws_apigatewayv2_route.clash_bot_connection_route: Refreshing state... [id=w7fedob]
module.api_gateway.aws_apigatewayv2_route.this["POST /api/v2/teams"]: Refreshing state... [id=i2to2qo]
module.create_team_step_function.aws_iam_policy_attachment.service["lambda"]: Refreshing state... [id=create-team-development-lambda]
module.create_team_step_function.aws_iam_policy_attachment.service["dynamodb"]: Refreshing state... [id=create-team-development-dynamodb]
module.api_gateway.aws_apigatewayv2_api_mapping.this[0]: Refreshing state... [id=gt4pmg]
aws_apigatewayv2_deployment.clash_bot_websocket_api_deployment: Refreshing state... [id=j94cin]
aws_lambda_permission.tournament_eligibility_permission: Refreshing state... [id=TournamentEligibilityPermission-development]
aws_lambda_permission.create_team_permission: Refreshing state... [id=CreateTeamPermission-development]
aws_lambda_permission.websocket_publisher_permission: Refreshing state... [id=WebSocketPublisherPermission-development]
module.event_handler_lambda.aws_iam_policy.policy: Refreshing state... [id=arn:aws:iam::816923827429:policy/event-handler-Policy-development]
module.event_handler_lambda.aws_lambda_function.lambda: Refreshing state... [id=event-handler-development]
module.event_handler_lambda.aws_iam_role_policy_attachment.lambda_exec_policy: Refreshing state... [id=event_handler_exec_role-development-20231118001013189900000005]
aws_lambda_event_source_mapping.event_handler_sqs_trigger: Refreshing state... [id=7fd6c898-c397-49fa-b143-76747922a919]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.create_team_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "create-team-development"
      ~ layers                         = [
          - "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:2",
        ]
        tags                           = {}
        # (22 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.event_handler_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "event-handler-development"
      ~ layers                         = [
          - "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:2",
        ]
        tags                           = {}
        # (22 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.event_notifier_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "event-notifier-development"
      ~ layers                         = [
          - "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:2",
        ]
        tags                           = {}
        # (22 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.event_publisher_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "event-publisher-development"
      ~ layers                         = [
          - "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:2",
        ]
        tags                           = {}
        # (22 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.retrieve_team_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "retrieve-team-development"
      ~ layers                         = [
          - "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:2",
        ]
        tags                           = {}
        # (22 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.tournament_eligibility_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "tournament-eligibility-development"
      ~ layers                         = [
          - "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:2",
        ]
        tags                           = {}
        # (22 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.websocket_publisher_lambda.aws_lambda_function.lambda will be updated in-place
  ~ resource "aws_lambda_function" "lambda" {
        id                             = "websocket-publisher-development"
      ~ layers                         = [
          - "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:1",
          + "arn:aws:lambda:us-east-1:816923827429:layer:clash-bot-workflow-layer:2",
        ]
        tags                           = {}
        # (22 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

Plan: 0 to add, 7 to change, 0 to destroy.
module.retrieve_team_lambda.aws_lambda_function.lambda: Modifying... [id=retrieve-team-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Modifying... [id=event-notifier-development]
module.create_team_lambda.aws_lambda_function.lambda: Modifying... [id=create-team-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Modifying... [id=tournament-eligibility-development]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Modifying... [id=websocket-publisher-development]
module.event_publisher_lambda.aws_lambda_function.lambda: Modifying... [id=event-publisher-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Still modifying... [id=event-notifier-development, 10s elapsed]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Still modifying... [id=tournament-eligibility-development, 10s elapsed]
module.create_team_lambda.aws_lambda_function.lambda: Still modifying... [id=create-team-development, 10s elapsed]
module.retrieve_team_lambda.aws_lambda_function.lambda: Still modifying... [id=retrieve-team-development, 10s elapsed]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Still modifying... [id=websocket-publisher-development, 10s elapsed]
module.event_publisher_lambda.aws_lambda_function.lambda: Still modifying... [id=event-publisher-development, 10s elapsed]
module.event_publisher_lambda.aws_lambda_function.lambda: Modifications complete after 10s [id=event-publisher-development]
module.create_team_lambda.aws_lambda_function.lambda: Modifications complete after 13s [id=create-team-development]
module.retrieve_team_lambda.aws_lambda_function.lambda: Modifications complete after 13s [id=retrieve-team-development]
module.tournament_eligibility_lambda.aws_lambda_function.lambda: Modifications complete after 13s [id=tournament-eligibility-development]
module.websocket_publisher_lambda.aws_lambda_function.lambda: Modifications complete after 13s [id=websocket-publisher-development]
module.event_handler_lambda.aws_lambda_function.lambda: Modifying... [id=event-handler-development]
module.event_notifier_lambda.aws_lambda_function.lambda: Modifications complete after 13s [id=event-notifier-development]
module.event_handler_lambda.aws_lambda_function.lambda: Still modifying... [id=event-handler-development, 10s elapsed]
module.event_handler_lambda.aws_lambda_function.lambda: Modifications complete after 14s [id=event-handler-development]

Apply complete! Resources: 0 added, 7 changed, 0 destroyed.

Outputs:

api-gateway-endpoint = "https://r0loqlg3t3.execute-api.us-east-1.amazonaws.com"
create-team-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:create-team-development"
event-handler-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:event-handler-development"
event-publisher-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:event-publisher-development"
event-sqs = "arn:aws:sqs:us-east-1:816923827429:clash-bot-event-sqs-development.fifo"
retrieve-team-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:retrieve-team-development"
step-function-arn = "arn:aws:states:us-east-1:816923827429:stateMachine:create-team-development"
tournament-eligibility-lambda-arn = "arn:aws:lambda:us-east-1:816923827429:function:tournament-eligibility-development"

Pushed by: @Poss111, Action: pull_request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant